Forum Discussion

Lee_M's avatar
Lee_M
Community Hero
4 years ago
Solved

String Default Values

I have a persistent variable of type String   I have 'unset'/deleted the Local Value and then perform a KW log message on the variable I expected to see the default value but instead, I see a b...
  • nmrao's avatar
    2 years ago

    Kimdoengart 

    Yes. It is possible to find that.

    I believe that the above code snippet is of script assertion of the Soap Request type test step, but not Groovy Script test step.

     

    Here it goes:

     

    import com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep
    if (context.currentStep instanceof WsdlTestRequestStep) {
     //Your code goes inside of this if block
    
    }