Forum Discussion

dsilvert's avatar
10 years ago

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

  • 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
  • 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
  • atulb's avatar
    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's avatar
      jaxent
      New Contributor

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

      • jaxent's avatar
        jaxent
        New Contributor

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