Forum Discussion

Thomas_Raddatz's avatar
Thomas_Raddatz
New Contributor
16 years ago

How to configure SOAP monitor for MockService?

Hello!

Please excuse my ignorance. I already read the manual and searched the forum for answers or an example with no success. May someone please explain to me how to configure the SOAP monitor for a MockService?

Any help would be greatly appreciated.

Thomas

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    mockservice endpoint(msep): http://localhost:8088/Hello

    mode proxy:
    In soapUI global soapUI settings under Proxy tab set host: localhost and port 8081(you can change this)
    open monitor wizard choose "HTTP Proxy" and set port 8081, same as you set in global settings.
    Start mock service. Start sending requests and watch them in proxy monitor.

    mode http tunnel:

    remove host and port from proxy settings in global soapUI settings.
    open monitor wizard. choose "http tunnel" set port 8081(value is optional). for end point enter mock service endpoint (ie.  http://localhost:8088/Hello ). Send request to http://localhost:8081.

    Let me know..

    robert
  • Robert,

    thank you so much for your reply. The SOAP monitor works perfectly now (proxy & tunnel mode). Perhaps you should add your reply to the manual, shouldn't you?

    Thank you again,

    Thomas.
  • Here are the settings I finally used on the client and server side. Please notice that client and server are different computers:


    Client IP address:        10.100.20.152
    Web service & soapUI:    localhost

    HTTP Tunnel
    -----------


    Client:

      Proxy setting:          none
      Endpount:              http://10.100.20.152:8081     
                              (listener port of SOAP monitor)

    Global proxy setting:

      Host:                  localhost
      Port:                  8081

    SOAP monitor:

      Port:                  8081
      Endpoitn HTTP tunnel:  http://localhost:8088/Test

    MockService:

      Path:                  /Test
      Port                    8088


    Proxy:
    ------

    Client:

      Proxy setting:          10.100.20.152:8081
      Endpount:              http://10.100.20.152:8088/Test
                              (web service endpoint)

    Global proxy setting:

      Host:                  do not care
      Port:                  do not care

    SOAP monitor:

      Port:                  8081

    MockService:

      Path:                  /Test
      Port                    8088