Forum Discussion
What type of service are you testing?
If REST, we could use a parameter dispatch style, so that if a certain test parameter equals a value (ie the db query) that it will output a certain response.
https://support.smartbear.com/readyapi/docs/virtualization/configure/dispatch/parameter.html
Thanks for the response.
In my case, it is a REST Service, there are instances in which parameters are used, however none of which are adequate for the routing logic.
I'd like to avoid reaching the Dispatch stage unless there is a way to re-route the request to the actual service instead of using a mocked response.
I have many apis in which they only identifier is a random string that needs a mapping to a database value in order to determine to route or not.
Related Content
- 5 years ago
- 2 years ago
- 10 years ago
Recent Discussions
- 5 days ago
- 10 days ago