Ask a Question

ServiceV Mock Response Query Match with multiple parameters

ravindralb2206
Frequent Visitor

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

 

1 REPLY 1
AlexKaras
Community Hero

Re: ServiceV Mock Response Query Match with multiple parameters

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
================================
cancel
Showing results for 
Search instead for 
Did you mean: