jmeter压力测试网页出现error,查看结果:Non HTTP response message: Host of origin may not be blank
用jmeter对网页进行测试时,已经用badboy录制好了脚本,但是测试的时候出来一耳光error页面,然后报以下的错误,怎么解决;java.lang.IllegalAr...
用jmeter对网页进行测试时,已经用badboy录制好了脚本,但是测试的时候出来一耳光error页面,然后报以下的错误,怎么解决;
java.lang.IllegalArgumentException: Host of origin may not be blank
at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:461)
at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:557)
at org.apache.jmeter.protocol.http.control.HC3CookieHandler.getCookiesForUrl(HC3CookieHandler.java:98)
at org.apache.jmeter.protocol.http.control.HC3CookieHandler.getCookieHeaderForURL(HC3CookieHandler.java:114)
at org.apache.jmeter.protocol.http.control.CookieManager.getCookieHeaderForURL(CookieManager.java:328)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.setConnectionCookie(HTTPJavaImpl.java:340)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.setupConnection(HTTPJavaImpl.java:200)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:484)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:44)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1105)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1094)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Unknown Source) 展开
java.lang.IllegalArgumentException: Host of origin may not be blank
at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:461)
at org.apache.commons.httpclient.cookie.CookieSpecBase.match(CookieSpecBase.java:557)
at org.apache.jmeter.protocol.http.control.HC3CookieHandler.getCookiesForUrl(HC3CookieHandler.java:98)
at org.apache.jmeter.protocol.http.control.HC3CookieHandler.getCookieHeaderForURL(HC3CookieHandler.java:114)
at org.apache.jmeter.protocol.http.control.CookieManager.getCookieHeaderForURL(CookieManager.java:328)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.setConnectionCookie(HTTPJavaImpl.java:340)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.setupConnection(HTTPJavaImpl.java:200)
at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:484)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:44)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1105)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1094)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Unknown Source) 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询