zoukankan      html  css  js  c++  java
  • 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导致的

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

     

    forward.molly.宝儿 独自行走
  • 相关阅读:
    test6
    test4
    test3
    20165321 2017-2018-2《Java程序设计》课程总结
    20165321 实验五 网络编程与安全-2
    20165321 实验五 网络编程与安全
    实验四 Android开发基础
    20165321 实验三 敏捷开发与XP实践
    《深入理解计算机系统》第三章 程序的机器级表示学习
    《文献管理与信息分析》第二章
  • 原文地址:https://www.cnblogs.com/forward/p/1673393.html
Copyright © 2011-2022 走看看