Forum Discussion

chadha_mukul's avatar
chadha_mukul
New Contributor
7 years ago

SoapUILoadTestRunner not giving proper results after execution

Hi,

I have been trying to retrieve the results for my load test after execution through loadTestRunner, but it is not giving me proper results. when I explored all the API's and jars in REadyAPI lib folder , I found that all the methods given below are returning hard coded zero values

public LoadTestExecutionStatus getExecutionStatus()
{
return LoadTestExecutionStatus.SUCCESSFUL;
}

public long getFailuresCount()
{
return 0L;
}

public long getAssertionFailuresCount()
{
return 0L;
}

public long getTps()
{
return 0L;
}

public long getVUno()
{
return 0L;
}

public long getAverageTimeTaken()
{
return 0L;
}

public long getTargetExecutionCount()
{
return 0L;
}
.....


Please find attached the snaphot and jar for it and let me know how to achieve this goal in teardownscript with groovy.

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi,

     

    Unfortunately, it is not possible to get any metrics from the script for now, they will always return zero.