首先,我不知道如何真正告诉你们我究竟在做什么,也不能有人真正打到网站,因为它是网站所在的私人网络.这是JMeter的屏幕截图:

我只是想尝试登录我们的网站,但在"/ common/j_security_check"的"查看结果树"节点下,它失败了.以下是标签中的信息:
取样器结果:
Thread Name: Thread Group 1-1
Sample Start: 2011-08-18 16:59:26 PDT
Load time: 0
Latency: 0
Size in bytes: 795
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code: java.lang.IllegalArgumentException
Response message: Non HTTP response message: Entity enclosing requests cannot be redirected without user intervention
Response headers:
HTTPSampleResult fields:
ContentType:
DataEncoding: null
Run Code Online (Sandbox Code Playgroud)
请求:
POST https://DELETED BY ME (SORRY)
POST data:
[no cookies]
Request Headers:
Run Code Online (Sandbox Code Playgroud)
回复数据:
ava.lang.IllegalArgumentException: Entity enclosing requests cannot be redirected without user intervention
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.setFollowRedirects(EntityEnclosingMethod.java:225)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConnection(HTTPSampler2.java:623)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:890)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:951)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:348)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助.
Bla*_*aff 13
尝试切换Redirect automatically到Follow Redirects.
看起来它正在尝试重定向进行身份验证,这意味着您可能还需要一个cookie manager.
| 归档时间: |
|
| 查看次数: |
9319 次 |
| 最近记录: |