gopiharan79Occasional Contributor11 years agoMock REST Services to return JSON responseHi, I need to send a JSON response from a Mock REST Service for a GET request. I tried to set the response content type as follows in the OnRequestScript tab, still the response content type is ...Show More
gopiharan79Occasional Contributor11 years agoWe had to write the output to response stream by acquiring mockRequest.getHttpResponse().getWriter() to set the required json content-type.
Related ContentDispatching responses from a Virtual ServiceLogging a mock service responseSoapui Script Assertion, when Json response return as stringReturn binary data from file as response in REST mockSoapUI 5.2.1-REST Service's JSON response not displayed in JSON view
Recent DiscussionsSoapUI 5.7.0 unable to resolve class com.eviware.soapUI.support.GroovyUtilsEncountering 504 when attempting to download packages from SoapUI RepoSolvedGradle publish not working suddenly from today.Encrypt passwords and master password?SolvedSOAPUI - Proxy_vole dll running from User Profile