I'm testing my WS with and without authorization (turning it on and off and restarting). I spent a lot of time wondering why it is connecting to WS with security even when I provided No Authorization:
In between I tested the same with curl, later on I checked and realized, that in my request, there is still Authorization header even when I selected No Authorization option.
In Raw tab I can see:
How can I choose No Authorization properly?
My version is SoapUI 5.4.0-EB
edit 1: As a workaround (to test my service is or is not password protected) I'm setting correct/incorrect credentials. In short if I send incorrect credentials to service without password it should pass, with password set it should fail.
通过首选项控制将身份验证发送到传出请求。
转到菜单
File -> Preferences -> HTTP Settings -> Authenticate Preemptively
Run Code Online (Sandbox Code Playgroud)
并取消选中Authenticate Preemptively和保存首选项。可以从文档中找到更多详细信息。
现在,身份验证详细信息不会在请求中发送。
如果您想再次发送认证,请恢复上述更改。
| 归档时间: |
|
| 查看次数: |
1809 次 |
| 最近记录: |