A friend asked how to use Windows Authentication to transfer credentials when testing a WCF service with SOAPUI, and then tried it yourself. It doesn't matter whether the server is WCF or WebService or WEBAPI, the key is where the credentials for Windows authentication are set. There happens to be a site that uses Windows authentication on hand, and on a browser when it is successfully accessed, it is about this page:
And then build a project in SOAPUI. Visit and return the result:
However, the NTLM type is not seen on the Credential Setup Panel. Looked for a bit of information, this post has already been answered:
Https://stackoverflow.com/questions/914899/testing-web-service-with-soapui-and-windows-authentication
Summarize a few points:
1, 4.5 before the version is not supported;
2, can use Burp suite to do an agent;
3, in the supported version can be enabled "Adds authentication information to outgoing request" This option, you can see the NTLM type of authentication;
Since I am using version 5.0, the natural preference is to try to bring your own features instead of hanging proxies. Looking for this option under File--Preferences this menu:
When this option is enabled, go back to the authorization configuration panel to see NTLM, add an NTLM authentication, enter the Windows account, password, domain name (if the workgroup computer is the name of the computer's machine name), initiate a request, You can see the return result of the validation pass:
Test WebService for Windows authentication using SOAPUI