Forum Discussion

khader_bza's avatar
khader_bza
New Contributor
16 years ago

How to run webservice mock responses

Hi,

I am pushing two orders to remote sever from soap UI one by one.Two orders (i.e test cases)in one test suite


1) Test case No: 1
Step: 1
Trigger the create subscriber order xml to remote server from soap UI (http://10.65.60.13:7001/PsaGateway/services/Transaction)
Step: 2
There are two responses available for this order in MOCK service window.Check first response parameter responderOperation ID: XXXX .
Step 3
Check the order status in the second response in the MOCK services window.If “ORDER STATUS” parameter is “COMPLETED” and first response responderOperation ID: XXXX available go to 2nd test case otherwise failed the this test case


2) Test case No: 2

Prerequisite: Create Subscriber order should complete
two seperate responses available in MOCK service window
Step: 1
Trigger the policy subscriber order xml to remote server from soap UI (http://10.65.60.13:7001/PsaGateway/services/Transaction)
Step: 2
Check the parameter responderOperation ID: XXXX in first received response in the MOCK services window. After this second response appear at MOCK service window
Step 3
Check the order status in the second response in the MOCK services window.If “ORDER STATUS” parameter is “COMPLETED” and first response responderOperation ID: XXXX available complete the test case otherwise failed the policy test case

Anybody help or guide me how to process this in soapui.
No RepliesBe the first to reply