gopiharan79Occasional Contributor12 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 Contributor12 years agoWe had to write the output to response stream by acquiring mockRequest.getHttpResponse().getWriter() to set the required json content-type.
Recent DiscussionsSoapUI 5.9.1 displays "[]" as "<Empty JSON content>"SoapUI - Apache Commons FileUpload (CVE-2025-48976)(High)Log4j vulnerability (CVE-2025-68161)
Related ContentDispatching responses from a Virtual ServiceLogging a mock service responseSoapui Script Assertion, when Json response return as string