chuddy12345
11 years agoNew Contributor
How to log requests in a mock service
Hi there, I have created a mock REST web service which will listen for requests. I am using SoapUI 5.0.0. When I open up the mock service I start it and can see the "knight Rider" progress ba...
- 9 years ago
It's possible to log request by using "OnRequest Script" option in Mock Service Editor (I am using version 5.2.1)
Put following code in above option and the request content should be visible in "Script Log"
log.info(mockRequest.getRequestContent())