Created
October 16, 2019 07:23
-
-
Save mariusmitrofan/d298749de9227febca95bc3bb9401822 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MANDATORY PARAMETERS> | |
* numClients: | |
-> The number of users testing your application | |
-> Each user opens a TCP connection to your application and tests it | |
* hatchRate: | |
-> How many users will be added to the current users, per second, | |
until the total amount of users is fulfilled. | |
-> This tells the app how gradually do you want to do the load test | |
* runTime: | |
-> How muuch time (in seconds) the test should run for | |
* maxThreads: | |
-> The number of different public IPs to launch the test from | |
* hostname: | |
-> The hostname that you'll be doing the stress test against | |
* protocol: | |
-> What protocol do you want to use in your stress test | |
-> Available values are of course "http" and "https" | |
* workflow: | |
-> An array to define what APIs to query | |
-> Multiple workflow steps will tell the app to query each endpoint SEQUENTIALLY | |
* workflow[item]["path"]: | |
-> The path in a workflow step to query | |
* workflow[item]["method"]: | |
-> The method in a workflow step to run against | |
<OPTIONAL PARAMETERS> | |
* minWait: | |
-> The minimum amount (in miliseconds) to wait between connections | |
* maxWait: | |
-> The maximum amount (in miliseconds) to wait between connections | |
* sslVerify: | |
-> The default is "1" | |
-> Use this if you're testing against a hostname | |
without a valid cert by setting it to "0" | |
* workflow[item]["headers"]: | |
-> A JSON object (key-value) mapping of headers to push when doing the request | |
* workflow[item]["data"]: | |
-> A JSON object (key-value) mapping that is to be used when pushing a payload | |
-> Use this when you want to specify payload data for a POST request for example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment