jmeter: URI can't be null

log中报URI can't be null错误

2010/02/25 13:35:03 ERROR - jmeter.threads.JMeterThread: Error while processing sampler 'home page' : java.lang.IllegalArgumentException: URI can't be null.
 at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:116)
 at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:796)
 at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
 at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2173)
 at org.apache.jmeter.protocol.http.sampler.HTTPSampler.disconnect(HTTPSampler.java:610)
 at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:603)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
 at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
 at java.lang.Thread.run(Thread.java:619)

 

原来是这里 web服务器这里多写了个http导致的

当然这个是最基本的错误,其他可能会报同样的错误,但我还没遇到

 jmeter: URI can't be null_第1张图片

你可能感兴趣的:(JMeter)