12 years ago
Mock Service script new request to separate operation
Hi there ...
I was wondering if anyone can help me here as I am just getting into SOAPUI.. I have created a mock service response in Groovy following the "Creating Dynamic MockServices" tutorial .... the mock response needs to first call a separate webservice call to another operation before sending the response back ... my question is how do I code new request inside the groovy code...
so the flow is:
1) requestA for OperationA comes in
2) MockServiceA (groovy script response) consumes the request
3) MockServiceA makes a requestB call to operationB
4) once its gets the response from operation ... send response back to the original requestA
I cant find any samples of this .... any help is appreciated ..
thanks
I was wondering if anyone can help me here as I am just getting into SOAPUI.. I have created a mock service response in Groovy following the "Creating Dynamic MockServices" tutorial .... the mock response needs to first call a separate webservice call to another operation before sending the response back ... my question is how do I code new request inside the groovy code...
so the flow is:
1) requestA for OperationA comes in
2) MockServiceA (groovy script response) consumes the request
3) MockServiceA makes a requestB call to operationB
4) once its gets the response from operation ... send response back to the original requestA
I cant find any samples of this .... any help is appreciated ..
thanks