sedge55
10 years agoNew Contributor
Check whether Mock response exists
In a Mock Service operation the return statement identifies which Response is to be sent.
If the value is held in a variable
How can I check that the response identified in "tran" exists before attempting to send it?
Thanks
Steve
return "Transaction Not Supported"
If the value is held in a variable
def tran = ....
How can I check that the response identified in "tran" exists before attempting to send it?
Thanks
Steve