Forum Discussion

chrcharles's avatar
chrcharles
New Contributor
14 years ago

Tomcat : Context and mockOperation variables

Hello,
I'm using soapUi 3.0.1
In a groovy script I can use log, context and mockOperation variables.

With my project I make a war file and deploy it in Tomcat 6.0.35.
It's work fine, but the context and mockOperation variables are null or [:] !?

How can I retrieve thus variables?

Thanks a lot.

Chris
  • chrcharles's avatar
    chrcharles
    New Contributor
    Hello,

    In the com.eviware.soapui.impl.wsdl.mock.WsdlMockService.runOnRequestScript() method I saw that a mockRequest instance was passed to the groovy script.
    Can I got the mockOperation too ?