Forum Discussion

mwthoreso's avatar
mwthoreso
New Contributor
4 years ago

Script - Virtual Service Dispatch - JavaScript return value (setting Reponse)

Hi, with the default Groovy scripts you configure your Response Dispatch with a `return` value, the value being the name of the response:   if ( yourVariable.equals("somestring")) { return "Su...