gopiharan79Occasional Contributor13 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 Contributor13 years agoWe had to write the output to response stream by acquiring mockRequest.getHttpResponse().getWriter() to set the required json content-type.
Recent DiscussionsSignature\Encryption tags missing in Security HeaderCVE-2024-7565 and CVE-2017-16670 vulnabilitiesVulnerabilities found in SoapUI 5.9.1
Related ContentDispatching responses from a Virtual ServiceSoapui Script Assertion, when Json response return as stringLogging a mock service response