wrk http-benchmarking setup for my dear friend - Lycha! :)
To start using it go to wrk directory.
Then please firstly edit the linescripts/auth.lua
.
["Authorization"] = "Insert your own auth token here"
Unless you have different headers configuration, feel free to edit it here.
To configure testing options, edit test.sh
file.
You can modify duration, connection and trial options.
To start testing please use:
$ ./test.sh <get/post> <testing_object>
Currently available testing objects:
- GET
- customers
- leads
- POST
- customers
- customers-statistics
- leads
- leads-statistics
Example:
$ ./test.sh get leads
Or if you want to test all of existing files, just simply use:
$./test.sh all
Results will be saved in results
folder.
Each testing object has own .csv
file.
It can be converted to JSON or edited with any Sheets editing program.
If you want to remove all previous data from tests, use:
$./clean.sh all
... or just certain file, like this:
$./clean <get/post> <testing_object>
Example:
$./clean get customers