Mock Rest-Service Response (json and xml), using soapui
问题 I'm getting a confused, because I'm beginner in mocking rest-services. I'm using soapui to mock a rest-service. To do so, I need to write a script (OnRequest Script) in order to mock the responses to my request. So, I want to mock 2 types of response : application/json and application/xml. But I don't want to read any response-file. I just want to write the response in the script (OnRequest Script, in soapui). I've found a way to do it by reading a response file. In my case i don't need to