aseshan
16 years agoNew Contributor
Select of Mockservice operation based on request
Hello,
I am testing a webservice using SOAP UI. I created a mock response which contains two operation. The incoming webservice request has a node which is choice element i.e either one of node will be present.
I need to select response operation based on node name in incoming request. I used the groovyutil to retrieve the node name in incoming request. but i don't how to select the response operation and set as response for incoming request.
Please help me by providing sample code.
Regards
Anand
I am testing a webservice using SOAP UI. I created a mock response which contains two operation. The incoming webservice request has a node which is choice element i.e either one of node will be present.
I need to select response operation based on node name in incoming request. I used the groovyutil to retrieve the node name in incoming request. but i don't how to select the response operation and set as response for incoming request.
Please help me by providing sample code.
Regards
Anand