Forum Discussion
- nmraoChampion Level 2You can send some specific headers in the request, say header name SEND_RESPONSE_CODE=400 or 500
In the mock service, script dispatcher read that header is present and what code you want to return based on its have and send dynamic reply accordingly.
Hope this helps.- kailashlatadOccasional Contributor
Thanks for reply , Sorry I forgot to mention I am creating mock for SOAP request and driving factor is test data.
Can you please suggest your view or solution for dynamic mock creation?
Related Content
- 8 years ago
- 6 years ago
Recent Discussions
- 3 days ago
- 5 days ago