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.宝儿 独自行走
  • 相关阅读:
    【一篇文章就够了】Apollo
    【一篇文章就够了】Redis入门
    使用IDEA学习廖雪峰官方Git教程
    SourceTree的使用介绍
    【黑马旅游网】总结
    Entity Framework数据迁移命令使用总结
    leetcode editor
    IDEA个性化配置
    mysql5.7驱动(tableau,excel)
    正则表达式(1)
  • 原文地址:https://www.cnblogs.com/forward/p/1673393.html
Copyright © 2011-2022 走看看