13 years ago
mockRequest is NULL
Hi, I have a problem with mockRequest object. It suddenly stopped working, throwing NullPointerException. I'm using a script to switch between responses: def request = new XmlSlurper().parseTe...
hi,
were you able to get the answer for this ? Can you share the output ?
Hi,
I believe a null mockRequest could have been an actual bug in those versions (4.x) of SoapUI, I think it was fixed beyond version 5.
certainly in the latest versions of SoapUI mockRequest is fine - please see example post
Regards,
Rupert
I am using 5.1.2 and I still get the error
OK, did you check the example post discussion?
Sorry to check, but are you definitely doing a REST POST request to the mock?
Regards,
Rup