Forum Discussion

t_roy's avatar
t_roy
New Contributor
6 years ago

How to generate load test report ONLY for REST request steps(i.e. excluding datasource/loop steps)

Using SoapUI pro 5.1.2 licensed version. I have atestcase including multiple datasource steps, datasource loops and request steps, total 17 steps.On generating load test report using soap ui pro it's becoming very difficult to understand the chart for 17 steps , also my requirement is to see the chart only for rest request steps

while generating the load test report,want to exclude datasource/data loop steps from it  i.e. want to have reports only for REST request steps, is there any wqay to achive it in soapui pro 5.1.2 version?

  • testSuite.getTestCaseList().each {testcase ->
        testcase.getTestStepsOfType(com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.class).each {
    teststep ->
    // do something } }

    FYI

     

    BR,

    /Aaron

  • aaronpliu's avatar
    aaronpliu
    Frequent Contributor
    testSuite.getTestCaseList().each {testcase ->
        testcase.getTestStepsOfType(com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.class).each {
    teststep ->
    // do something } }

    FYI

     

    BR,

    /Aaron

    • t_roy's avatar
      t_roy
      New Contributor

      can we do it without scripting (i.e. is there any option available on soapui pro GUI) ?

      • TanyaYatskovska's avatar
        TanyaYatskovska
        SmartBear Alumni (Retired)

        Hi t_roy,

        I'm not sure if it's possible in SoapUI.

        ReadyAPI may have this functionality.