首先,我不知道如何真正向您展示我究竟在做什麼,也沒有人可以真正地訪問該網站,因爲它是一個私人網絡,網站的生活。這裏是JMeter的屏幕截圖: JMeter無法登錄到網站 - JMeter noob
我只是試圖登錄到我們的網站,但在「/ 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
請求:
POST https://DELETED BY ME (SORRY)
POST data:
[no cookies]
Request Headers:
響應數據:
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)
感謝您的幫助。
是的cookie管理器 – holygeek
是的這些都是我的問題2,但我還需要一個URL重寫示例包括我的會話ID。謝謝。 – jreed121