Forum Discussion

pbaker01's avatar
pbaker01
Occasional Contributor
16 years ago

Newbi Question - Capture Soap From Client

I am testing a swing client app that sends soap over http mesages to our server (service - SOA).  I want to run SoapUI from my work station and capture the outgoing request (and hopefully the incoming response) messages that are sent/received by the client (swing app) running on my working station.  Is this possible?

I have been able to point to the wsdl and create a project.

I start my client and want to capture the messages.  I have tried using tcpmon and soap monitor and I don't see any traffic.  I have set the endpoint that consists of an ip address, port, and path.  No messages are captured.

Is capturing messages from a client possible with SoapUI.  I am in the testing group and I see lots of potential for SoapUI if I can just get it to capture the outgoing messages....

Apologies of this question seems fundamental.  Any pointers will be greatly appreciated.

Paul

3 Replies

  • Hi!

    hmm.. have you changed your client to use soapUI as a proxy? Or changed its IP to tunnel through soapUI? And in either situations started the SOAP Monitor correspondingly.. !?

    Check out http://www.eviware.com/blogs/oleblog/?p=827 for more info on how to set up the SOAP Monitor..

    Does this help?

    regards!

    /Ole
    eviware.com
  • pbaker01's avatar
    pbaker01
    Occasional Contributor
    Hi and thank you for you reply.
    I read the document that you posted and I was able to generate a request from within SoapUI.  That worked perfectly, thank you.

    My next goal, if possible, to capture messages generated from our existing client.  The client is a swing app that sends requests using soap over http.  I do not want to make any modifications to the client.  My goal it so use the client and then capture the exchange of soap message using SoapUI.  Is that even possible? 

    So I want SoapUI to monitor the traffic that is being initiated by our thick client or in some way configure SoapUI as a proxy and then have it forward the request/response appropriately. 

    If possible may I ask that you provide some detail step... I very much appreciate the help.

    PB
  • pbaker01's avatar
    pbaker01
    Occasional Contributor
    I figured it out using the referenced doc above...
    I change the config file to point to my localhost:8080 and then used the http tunnel option.  Works great. 
    -pb