Forum Discussion

enid_tester's avatar
enid_tester
New Contributor
15 years ago

New, trying sample project, mock response won't work

Hi all,

I'm a tester who is brand new to SOA testing and soapUI. I'm trying to demo some testing tools for an upcoming project.

I'm at work, so there's a proxy in the mix. Initially, I set up the global proxy settings (File => Preferences => Proxy Settings) exactly the same way they are set up in my browser.

The mock response in the sample project wouldn't work. I got a DNS error that looked like it was returned by my company's servers.

I tried changing both global and HTTP monitor proxy settings to localhost and 8081. Running the mock response returned yet another error.

So I can't get past Go here.

Sorry if this has been asked many times before but I didn't find anything when I did a search on this forum.

Thanks.

1 Reply

  • Got it. I'm posting this for the benefit of any other rank newbs who are going through the "Getting Started" steps on the soapUI site.

    1. In Proxy Settings, set proxy to localhost:8088. Not sure if this is completely necessary but that's the way I'm set up right now.
    2. For the sample project provided with soapUI: Start the SampleServiceSoapBinding MockService if it isn't already started, leave it running (this is where my troubles began - I had stopped the service), then set the Request 1 URL (top of the Request 1 screen) to http://127.0.0.1:8088/mockSampleServiceSoapBinding.
    3. Run the request. You should get a session ID as a response.