Forum Discussion

ttt's avatar
ttt
New Contributor
5 years ago

Representation of REST Mocks in WebUI

Hello there!

While working with SoapUI Mock services deployed on Tomcat I have a little problem with a WebUI representation of REST mock services. For all REST requests, except for POST ones, in WebUI I can not see complete Details for MockResult: I can see only request headers, none of the others (Incoming Request, Response Headers, Returned Response) are displayed even if they exist.

 

POST requests displayed well, as well as all SOAP request. Is there a way I can fix this?

Thanks in advance for any help

  • What dispatch are you using?
    It is possible to log them if you need, I believe.
  • nmrao's avatar
    nmrao
    Champion Level 3
    What dispatch are you using?
    It is possible to log them if you need, I believe.
    • ttt's avatar
      ttt
      New Contributor

      In most cases there is only one respone, so dispatch is set by default - Sequence. If there are multiple responses, it's Script dispatch. Logging it to the Groovy log output is a great idea, thank you for it. I'm going to implement this for specific services I need.

       

      But anyway I think that it would be great if it was logged automatically for all sercices, not only SOAP and REST POST

      • nmrao's avatar
        nmrao
        Champion Level 3

        Wish it could do by default. I am member like you, can't help with product feature.