ar1607
9 years agoNew Contributor
[SoapUI 5.2.1] mockRequest is NULL in REST MockService
I'm using SoapUI 5.2.1 and I have a REST MockService. Whenever I try to implement the following script, I get the NullPointerException . Script: def requestBody = mockRequest.getRequestContent()...
- 9 years ago
Hi,
Like Rao said, we need a few more details, the functionality should definitely work. Here is my mock setup for reference:
The output you can see in the (script) log is the result of me making a GET request of: http://localhost:9090/test?p=hello
Regards,
Rup