zerocode icon indicating copy to clipboard operation
zerocode copied to clipboard

Load testing parameters

Open hpkoolkarni opened this issue 2 years ago • 1 comments

Can I get all the parameters that are used for load testing in zerocode. I am performing rampup testing using zerocode and the ramp-up is 5k requests in first 10 mins, 10kin next 10mins and 15k in last 10 mins. And I am implementing this using loadTestSuite. Right now my load_generation file for 5k req in10min looks like number.of.threads=84 ramp.up.period.in.seconds=10 loop.count=60 interactive.html.report.disabled=true So this should generate a load of 5k in 10 mins right? But the test goes on and doesn't stop only and after 1-2 hrs I am getting only 1000 records in the report. Is there any parameter to stop the test after certain time?

hpkoolkarni avatar Jul 13 '23 04:07 hpkoolkarni

Is there any parameter to stop the test after certain time?

You can set maximum time of test execution by setting abort.after.time.lapsed.in.seconds parameter described here: https://github.com/authorjapps/performance-tests/blob/master/src/test/resources/load_generation_1per1sec.properties

arkadiusz97 avatar Jul 15 '23 19:07 arkadiusz97