Forum Discussion

henil_shah's avatar
henil_shah
Contributor
6 years ago

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

  • nmrao's avatar
    nmrao
    Champion Level 3
    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.