Umea_universite
12 years agoOccasional Contributor
[Res] Change WSDL with Groovy
Hello!
I wonder how I can change and reload the WSDL with a Groovy script? I have a teststep that builds the new endpoint string from two project parameters, like this:
and now I'd like to use the WSDL on that endpoint instead of the one I used when building the SoapUI project.
Regards,
Rikard
I wonder how I can change and reload the WSDL with a Groovy script? I have a teststep that builds the new endpoint string from two project parameters, like this:
def newEndpoint = "http://" + context.expand( '${#Project#host}' ) + ":8080/cxf/" + context.expand( '${#Project#serviceName}' );
and now I'd like to use the WSDL on that endpoint instead of the one I used when building the SoapUI project.
Regards,
Rikard