Ask a Question

Unable to view received messages in Mock Service

dsilvert
Not applicable

Unable to view received messages in Mock Service

I have a mock rest service running and working, but I am unable to view the incoming request content from the message log.

http://www.soapui.org/Service-Mocking/mocking-soap-services.html section 2.1 says to double click the request, but when I double click I get nothing.

I am running OSX 10.8.4 and SoapUI 5.0.0 (tried release and maintenance).
6 REPLIES 6
chrishern
Not applicable

Hi,

Is there any update to this post? I'm having the same problem using SoapUI 5.0.0 on Windows 8. I have a mock REST service and can see the incoming requests in the message log but when I click on the individual message to look at the contents, nothing happens.

Cheers,

Chris
chuddy12345
New Contributor

Hi guys - did you figure out how to get this working?

Noted that this was a feature in the older versions of SoapUI

Thanks!

Chuddy
klauern
Contributor

I'm having this issue, too.
atulb
New Contributor

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())
jaxent
New Contributor

That didn't work for me either.  I still am only getting the log entry that the request came. 

jaxent
New Contributor

Take that back, I do see it.  It is in the Script Log, I was looking in the message log.

cancel
Showing results for 
Search instead for 
Did you mean: