Testing web service with SoapUI and Windows authentication

后端 未结 5 1127
青春惊慌失措
青春惊慌失措 2020-12-02 07:14

Is it possible to include the Windows domain credentials to test my web service with SOAP UI?

I found a properties page but the IIS just responses with \"wrong cred

5条回答
  •  情话喂你
    2020-12-02 07:20

    SoapUI doesn't seem to work directly with NTLM authentication, but you can use a proxy such as Burp Suite to do the auth for you.

    1. Download Burp Suite from http://portswigger.net/burp/ and crank it up.
    2. On Burp's "Proxy : Intercept" tab, click the button to turn intercept off.
    3. On Burp's "Proxy : Options" tab, make sure it's set to an unused port, the default is 8081
    4. On Burp's "Options" tab, tick "do www authentication" and add a setting for the server you wish to hit. Also tick "prompt for credentials on authentication failure"
    5. Switch to Burp's "Proxy : History" tab so you can see requests going through.
    6. In SoapUI, choose File > Preferences, then select "Proxy Settings". Enter Host "localhost" and port "8081".
    7. Use SoapUI as normal. It will send requests through Burp Proxy, which will do the NTLM authentication for you.

提交回复
热议问题