Forum Discussion
nmrao wrote:
Thank you for the screen shots and screen cast. However, it is not shown what is the despatch criteria while implementing mocker service.
I am not sure what this mean. What would you need to see to help understand what is happening?
- nmrao8 years agoChampion Level 3I meant what is the logic that you write which decides what to send as response? which is called Dispath Criteria - Script / Xpath etc?
- minoseah6298 years agoOccasional Contributor
So I see what you are describing on dispatch criteria.
SOAP UI is still very new to me and functionality is not obvious.
My initial impression on what SOAP UI mock service would do is if I have a request with specific data, then I would receive the response that is associated to the respective request.
In reviewing this tutorial, I saw exactly what are you talking about dispatch criteria.
https://www.soapui.org/tutorials/web-service-sample-project.html
But number 6 does not go into detail on how to do what my initial impression above.
I then found this link that described dispatching in little detail.
https://www.soapui.org/soap-mocking/mockoperations-and-responses.html
I tried to follow the pattern shown on this page for query-match.
I think I am close to what I need.
But when I add a second request, I click Play after submitting a request with new data, I get this:
But I expect to see response 2.
Thoughts on what I am doing incorrectly?
- minoseah6298 years agoOccasional Contributor
I figured out what I was doing wrong since no one replied.
I put an incorrect xpath schema.
Related Content
- 7 years ago
- 8 years ago
- 10 years ago
Recent Discussions
- 15 years ago