Forum Discussion

felipexlr50's avatar
felipexlr50
New Contributor
6 years ago

How to get loadtest statistic results in script

Hello, I manage to create a script in the loadtest teardown script to log some results:

 

testResults = loadTestRunner.loadTest.getStatisticsModel().snapshot.toList();

However, this resturn a array of the results, and if I need a specific teststep, I need to pass the array position. There is a way to get this results by the testStep name instead the array pos?

No RepliesBe the first to reply