Dish_Network_Su
15 years agoNew Contributor
Invoke a test request from mock
Hi All,
I am using SOAPUI Pro 3.5.1 and trying to point my web service requests to mock server, depending on the match on one of the fields in the input mock response is populated which is good till this point. But if it didn't find a match i would like to invoke original web service add service response to mock. Next time when i get the same request it should pull it from the mock.
I have looked at Mock server documentation, it says we could do this above functionality from dispatch script, can you point me to documentation/sample scripts for this.
I have also hard time using the xpath in this version, to validate multiple input fields for a mock response.
Thanks,
Surya.
I am using SOAPUI Pro 3.5.1 and trying to point my web service requests to mock server, depending on the match on one of the fields in the input mock response is populated which is good till this point. But if it didn't find a match i would like to invoke original web service add service response to mock. Next time when i get the same request it should pull it from the mock.
I have looked at Mock server documentation, it says we could do this above functionality from dispatch script, can you point me to documentation/sample scripts for this.
I have also hard time using the xpath in this version, to validate multiple input fields for a mock response.
Thanks,
Surya.