Forum Discussion
nmrao
Champion Level 3
Would you provide little more details of the problem? You mean to say you want to send the response using groovy script? Can you use like this? def trans = '''some foo more foo then bar''' if (trans) { return trans } else { return 'bar' }
sedge55
10 years agoNew Contributor
Thanks Rao
I have a groovy script to choose the mock service response as per this article:
http://www.soapui.org/soap-mocking/creating-dynamic-mockservices.html
and using the method in "5. Selecting the Response based on the request"
Using:
return "Simple Response"
I want to check whether "Simple Response" exists as a mock response in this mock service.
Thanks
Steve
- nmrao10 years agoChampion Level 3Is it possible to post your code?
Related Content
- 9 months agoIrinaManea
- 8 months agoAnabelle
- 10 months agoMarcusBengtsson
- 6 months agoLee_M
Recent Discussions
- 14 days agosmilnik