Basic http stressor tool focused on Rest Apis.
You just need 5 minutes to get valuable information related to your APIs timing.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
java 1.7 or later
- Download stressify.jar from here
java -jar stressify.jar
- File > New Project
- Select some method: get, post, put, delete, enter your url and headers like postman
- In the body tab, enter whatever you need but string
- In Assert Response Script tab, left empty or add something like this to ensure that exist a property in your json with name as key and Duke as value:
def status = jsonPath('$.name')
assertThat(status).isEqualTo('Duke')
- In settings you must select the report destination, report name and if you want charts:
- Finally enter the number of virtual users, select the stress mode(sequential/parallel) and press Start Stress button:
Every time you press the Start Stress button, you will have these files:
csv file will contain valuable data of the stress execution:
field | description |
---|---|
id | unique id of each http request |
startDate | start date of http request |
endDate | end date of http request |
responseStatus | status of http request |
totalExecutionMillisTime | how long did the http invocation take |
log | message when an error is detected on each http invocation |
log file will contain the log of each request and or the errors. You can search here the id of some execution in the csv file
png file will contain a basic average chart (users vs response time). Red line is the real data and blue the average:
More complex settings and asserts are in the wiki
1.0.0
More and more test and refactor code.
1.0.0
- Richard Leon Ingaruca - Initial work - JRichardsz
This project is licensed under the Apache License V2 License - see the LICENSE file for details