tstmartin
15 years agoContributor
Test step "change operation" - how to change POST
Hi,
Is there a way to edit the http POST in soapUI Pro?
I have a single web service application which has about 20 bindings which are very similar.
Test cases are also very similar.
Would be great to be able to clone test steps and edit them to fit the different bindings.
I cloned a test step for a particular binding, then used the "change operation" dialog to change the operation.
The SOAP envelope changed as expected. However, when I issued the request, an error response was generated.
Looking at the request in RAW tab, I see that the http post wrapping the SOAP request was not changed; so the server is seeing a request URL for which the SOAP request is not defined, and of course generating an error.
Good request:
POST http ... blahblahblah/Xservice
<soapend ...blahblah
<methodInXservice> ....blablahblah
Bad Request after clone and "change operation" to Y service - note the http request has not changed:
POST http ... blahblahblah/Xservice
<soapend ...blahblah
<methodInYservice> ....blablahblah
Is there a way to edit the http POST in soapUI Pro?
I have a single web service application which has about 20 bindings which are very similar.
Test cases are also very similar.
Would be great to be able to clone test steps and edit them to fit the different bindings.
I cloned a test step for a particular binding, then used the "change operation" dialog to change the operation.
The SOAP envelope changed as expected. However, when I issued the request, an error response was generated.
Looking at the request in RAW tab, I see that the http post wrapping the SOAP request was not changed; so the server is seeing a request URL for which the SOAP request is not defined, and of course generating an error.
Good request:
POST http ... blahblahblah/Xservice
<soapend ...blahblah
<methodInXservice> ....blablahblah
Bad Request after clone and "change operation" to Y service - note the http request has not changed:
POST http ... blahblahblah/Xservice
<soapend ...blahblah
<methodInYservice> ....blablahblah