Forum Discussion

mrdwprice's avatar
mrdwprice
Contributor
11 months ago

Disable Response SLA assertion on all REST test steps

Hi, Is someone able to help with a Groovy script that can be run as a Setup Script that can loop through all REST teststeps in a project and disable the Response SLA assertion I have a starting poi...
  • groovyguy's avatar
    11 months ago

    As far as I can tell, "RestTestRequestStep" is not a variable / value that you can tie into by default. If you use this include statement, that should clear up the error you are seeing.

     

    import com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep;