cancel
Showing results for 
Search instead for 
Did you mean: 

ServiceV Mock Response Query Match with multiple parameters

New Member

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
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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================