Performed Load Testing on Reqres API.
- Executing Load Test: Performed over 7,000 requests ramped in 30 seconds
- Implemented Loop Controllers, Response Assertions
- Parametrisation for Authentication
- Both Happy Path and Bad Path requests were tested under load
- Generated Output Reports
- JMeter
- Java 8 or Higher
- Basic api tests are generated in Browser using BlazeMeter Chrome Extension
- api URL, Basic Auth Credntials
- Most call will be made for CRUD operations, 250 Threads x 8 requests
- request performing CRUD operations on Users ad Resources
- Assumed that there will be less login and signup hits, 200 Threads x 4
- includes basic request, login, register, open homepage
- bad requests will be least, 50 Threads x 5
- includes request leading to 400 or 404 error
- Download .jmx file
- Import the file in JMeter
- Before running Disable Listerners: Each Thread Group has Listerners, make sure to disable then while load testing. As the are resource hungry.
- jmeter -n -t "specify location\filename" -l "location of .csv result reports" -e -o "location of html report folder"
- sh jmeter -n -t "specify location\filename" -l "location of .csv result report" -e -o "location of html report folder"
- HTML Reports
- Logging Report
- Logs