cancel
Showing results for 
Search instead for 
Did you mean: 

Run test step multiple time and log response time

Highlighted
Contributor

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
Community Hero

Re: Run test step multiple time and log response time

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.