Forum Discussion

amarok's avatar
11 years ago

REST Mock - cannot open request details

I created a Mock REST-Service with SOAP UI 5.0. I can see each request in the log - but cannot open details (somewhere in the tutorials double-clicking is mentioned, but it doesnt work).
Is this a (known) bug or where else can I see details about the requests? (Actually I just want to verify headers and payload).

Regards,
Alex

7 Replies

  • zwembroek's avatar
    zwembroek
    Occasional Contributor

    I have found a workaround for now. You can add a script to the response message, which prints the headers for you in the log. In my case I am interested in the authentication headers, and the script on this page will check these headers against two hard coded values, and prints an error in the log if the wrong username and password are used. 

     

    https://gist.github.com/js1972/11447197

     

    If you want to check other headers, you should be able to change the script accordingly.

  • nmrao's avatar
    nmrao
    Champion Level 3
    Have you tried looking at raw request which might be interesting to you?
  • grooves's avatar
    grooves
    Occasional Contributor
    nmrao wrote:
    Have you tried looking at raw request which might be interesting to you?


    In my case the request comes from outside SoapUI and there doesn't seem to be any log of the request data.
    The raw request is only available in test cases.
    • zwembroek's avatar
      zwembroek
      Occasional Contributor

      I have the same problem. Is there any update on this issue yet?

      • nmrao's avatar
        nmrao
        Champion Level 3

        Can you show the problem that some one can reproduce, possible screen shot etc?

  • zwembroek's avatar
    zwembroek
    Occasional Contributor

    Any news by now? This missing feature is really annoying. I checked the release notes, and could not find a mention of it. I am using 5.2.1.