sc_paca
8 years agoNew Contributor
Change Value with a variable in a Mock Response
Hi,
In a project, there is a mock service and there is a mock response. Inside there is a tag: <local_OrderId>9999</local_OrderId>
I want to know if it's possible to change the value of this tag by groovy. How to change this value by a variable? Like this the value of the tag will be able to take different value and not only 9999.
In a test case I can change in SOAP Test request the value ${Properties#QuoteID} of the request but I don't know how to change in the mock response.
Thanks for your help
SC