ServiceV Mock Response Query Match with multiple parameters
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2018
11:21 AM
10-25-2018
11:21 AM
ServiceV Mock Response Query Match with multiple parameters
Hi,
I'm looking to create a query match under the dispatch strategy to send the mock responses in ServiceV PRO. Here i would my query match parameter to check multiple values rather than just one. What would be the delimiter or the syntax of OR condition?
If query matches > 'a' OR 'b' OR 'c'; Send Response X
If query matches > 'c' OR 'd' OR 'e'; Send Response Y
Labels:
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2018
11:06 AM
10-26-2018
11:06 AM
Hi,
I think that Script dispatch should be used instead of Query Match.
Code sample for the dispatch script can be get from, for example, https://community.smartbear.com/t5/Service-Virtualization-Virtual/ServiceV-Pro-Default-response-unex....
Regards,
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
