Forum Discussion
timmer
13 years agoNew Contributor
M,
Thanks for you reply, but I was not able to get your solution to work.
There is no testcase available to this context. I am not sending the request from within
a TestSuite, TestCase, TestStep ..., though it would be nice to have a generic
solution that would also work for them.
As i am new to SoapUI I am not sure what this is called, perhaps A WsdlRequest
as that is what I got by doing a request.dump().
Context com.eviware.soapui.impl.wsdl.WsdlSubmitContext
Request com.eviware.soapui.impl.wsdl.WsdlRequest
The following works but its ugly and not very generic.
Is there a better way?
Thanks,
Tim
Thanks for you reply, but I was not able to get your solution to work.
There is no testcase available to this context. I am not sending the request from within
a TestSuite, TestCase, TestStep ..., though it would be nice to have a generic
solution that would also work for them.
As i am new to SoapUI I am not sure what this is called, perhaps A WsdlRequest
as that is what I got by doing a request.dump().
Context com.eviware.soapui.impl.wsdl.WsdlSubmitContext
Request com.eviware.soapui.impl.wsdl.WsdlRequest
The following works but its ugly and not very generic.
Is there a better way?
def project = context.getModelItem().getParent().getInterface().getProject()
project.setPropertyValue('PROJ_SomeProp', trackingID)
Thanks,
Tim
Related Content
- 8 years ago
- 10 months ago
- 2 years ago
Recent Discussions
- 15 years ago