Visual Studio Online Jmeter抛出异常:无法加载或调用类:org.apache.jmeter.protocol.http.control.HC3CookieHandler

时间:2017-06-07 20:46:50

标签: jmeter azure-devops

我正在尝试使用Visual Studio Online对JMeter测试的支持来运行负载测试。我在下面收到错误。我尝试了这两个设置,但结果相同

<stringProp name="CookieManager.implementation">org.apache.jmeter.protocol.http.control.HC3CookieHandler</stringProp>

<stringProp name="CookieManager.implementation">org.apache.jmeter.protocol.http.control.HC4CookieHandler</stringProp>

基于here

的建议
  

无法加载或调用类:   org.apache.jmeter.protocol.http.control.HC3CookieHandler   org.apache.jorphan.util.JMeterException:   java.lang.reflect.InvocationTargetException at   org.apache.jorphan.reflect.ClassTools.construct(ClassTools.java:112)     在   org.apache.jmeter.protocol.http.control.CookieManager.testStarted(CookieManager.java:397)     在   org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:214)     在   org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:336)     在java.lang.Thread.run(未知来源)引起:   java.lang.reflect.InvocationTargetException at   sun.reflect.NativeConstructorAccessorImpl.newInstance0(本机方法)     at sun.reflect.NativeConstructorAccessorImpl.newInstance(未知   来源)at   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(未知   来自java.lang.reflect.Constructor.newInstance(未知来源)     在   org.apache.jorphan.reflect.ClassTools.construct(ClassTools.java:100)     ... 4更多引起:java.lang.IllegalStateException:不支持   cookie规范标准   org.apache.commons.httpclient.cookie.CookiePolicy.getCookieSpec(CookiePolicy.java:220)     在   org.apache.jmeter.protocol.http.control.HC3CookieHandler。(HC3Coo

1 个答案:

答案 0 :(得分:0)

我认为我发现我的答案似乎vs-team-services仅支持Apache JMeter 2.13