我正在IIS上托管的Web应用程序上运行Jmeter脚本,并使用ADFS身份验证机制。对于Jmeter中的每个请求,由于“ Java.Net.SocketException”,因此失败。
我所做的是: 使用HTTP身份验证管理器从CSV数据配置元素为每个用户提供凭据。但似乎Jmeter仍未登录。
遵循了Jmeter HTTP授权管理器的文档,但看起来好像没有登录到应用程序
在Jmeter日志文件中-我看到的是:
org.apache.commons.httpclient.auth.AuthChallengeProcessor: ntlm authentication scheme selected
2014/05/22 16:34:22 INFO - org.apache.commons.httpclient.HttpMethodDirector: No credentials available for NTLM <any realm>@DomainName:PortNumber ..
2014/05/22 16:34:31 INFO - jmeter.protocol.http.sampler.HTTPHC4Impl: HTTP request retry count = 1
2014/05/22 16:34:31 INFO - jmeter.protocol.http.sampler.HTTPHC4Impl: Setting up HTTPS TrustAll scheme
2014/05/22 16:34:32 INFO - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$4: I/O exception (java.net.SocketException) caught when processing request: Connection reset
2014/05/22 16:34:32 INFO - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$4: Retrying request
2014/05/22 16:34:32 INFO - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$4: I/O exception (java.net.SocketException) caught when processing request: Connection …Run Code Online (Sandbox Code Playgroud)