Skip to content

a lightweight Http benchmarking tool for testing performance

License

Notifications You must be signed in to change notification settings

ErfanMomeniii/ptest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ptest

go version license version

ptest

ptest is a lightweight Http benchmarking tool for testing performance.

Documentation

Install

go install -v github.com/erfanmomeniii/ptest@latest

Quick Start

The following examples demonstrates how to generate report for specific url :

ptest run -u https://google.com

✅ You can also see diagram of output reports by using the following command:

ptest run -u https://google.com -d true

here you can see an example of generated diagram from reports:

ptest

CLI Usage

ptest [Command] [Flag]
Command Description
help Help about any command
run Command for starting to run

Flag                             
Description Type Default
-u, --url Target website URL string https://google.com
-c, --count Total iteration count int 1
-d, --diagram For defining that should draw diagram or not bool false
-b, --body Body for the HTTP request string ''
-m, --method Http request method. Available methods are GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS string GET
-h, --header Headers of the request stringArray ''
-t, --timeout Timeout for each HTTP call int 10000000000(10 seconds)

About

a lightweight Http benchmarking tool for testing performance

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published