M_McDonaldSuper Contributor16 years agoRewriting request in Mock Service OnRequest scriptHi - I have the following code in the OnRequest script of a Mock Service to change the request to SOAP: def req = mockRequest def content = req.getRequestContent() log.info "onRequest reque...Show More
M_McDonaldSuper Contributor16 years agoLooks like I can set the Response to anything I want, so it appears to be working now.Thanks.
Recent Discussions4.0.1 Not marking test as passedWhich Log4j VersionReadyAPI 4.0.1: How to see overview of open messages
Related ContentConvert curl request to SoapUI RequestOnRequest script causes mock service to fail with 500 Internal Server ErrorRequest Body Missing in Raw Request view