Ask a Question

Run test step multiple time and log response time

henil_shah
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
nmrao
Champion Level 2

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.
cancel
Showing results for 
Search instead for 
Did you mean: