Run test step multiple time and log response time
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2019
04:10 PM
02-19-2019
04:10 PM
Run test step multiple time and log response time
My requirement is to run the same test step 100 times and log its response time. I want to check the response time of each run.
The below code didnt help me inside a for loop.
log.info "Time taken" + testRunner.testCase.testSteps["Request1"].testRequest.response.timeTaken
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2019
05:33 PM
02-19-2019
05:33 PM
You can define a test case with the required step. Also add the load test step and run it.
Load test step has different configurations which allows you to do the same.
Regards,
Rao.
Load test step has different configurations which allows you to do the same.
Regards,
Rao.
