Hi,
The scenario is Rest service request attribute as a string, if user passes string should return error response. I have added 2 responses first one with positive response and second one negative response. Using below Match script but getting Meta response instead of response 1 and 2.
String incomingValue = incomingRequest.getArguments().get("argumentName");
if(incomingValue.equalsIgnoreCase("Text") {
// true means these arguments match
return true;
else
return to next response2.
Could you please suggest me the correct syntax for the same or guide me how to handle this scenario.
------------------------------
Thanks,
Naga
------------------------------