Forum Discussion

latham187's avatar
latham187
Occasional Contributor
14 years ago

Discard OK Results

Hi,

I have a project with 800+ test cases and am encountering serious performance issues with soapUI Pro after running the tests. I've had a quick look through the forums and found that using the "Discard OK Results" option should help. Is there anyway I can set this option for all of the test cases rather than opening each test case on the UI and setting it there?

Thanks,
Matt

3 Replies

  • Hello,

    yes - you should be able to add Groovy script test step
    (or set if from some other, say startup, script)
    code that will iterate over all test cases and for each set:

    testCase.setDiscardOkResults(true)

    Does this help?

    Regards,
    Vladimir
    SmartBear Software
  • latham187's avatar
    latham187
    Occasional Contributor
    I'm not very familiar with groovy scripting so I just opened the project file in a text editor and replaced "timeout=" with "discardOkResults="true" timeout="

    It's not pretty, but it works.