Forum Discussion
NewToSoap1
8 years agoOccasional Contributor
Hi Rao,
Thanks for your reply.
I am writing this script inside Script tab in mock Response for saving mock request and mock response. I used another script also which is not working too
I used another script also which is not working too.
def resContent = mockResponse.getMockResult().getResponseContent();
Above script is always returning last mock response content but not the latest
I am using all these scripts inside Script tab in mock response
Regards,
Mohit Bansal
- nmrao8 years agoChampion Level 3Not sure why are you saving in Mock service. Instead you should be doing it in test case.
Related Content
- 2 years ago
- 4 years ago
Recent Discussions
- 15 years ago