我得到和通过mvn运行jmeter测试脚本时出错。NonGUIDriver java.lang.NullPointerException中的错误Maven Eclipse
这里是我的pom.xml
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>2.2.0</version>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<jmeterExtensions>
<artifact>kg.apc:jmeter-plugins:pom:1.3.1</artifact>
</jmeterExtensions>
<jmeterExtensions>
<artifact>kg.apc:jmeter-plugins-manager:jar:0.10</artifact>
</jmeterExtensions>
<jmeterExtensions>
<artifact>kg.apc:jmeter-plugins-json:jar:2.3</artifact>
</jmeterExtensions>
<junitLibraries>
<artifact>com.lazerycode.junit:junit-test:1.0.0</artifact>
</junitLibraries>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
</dependencies>
的JMeter日志文件:
2017年8月17日16点57分42秒错误 - jmeter.save.SaveService:转换错误com.thoughtworks .xstream.converters.ConversionException:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com .atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor ----调试信息---- 消息:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor cause-exception:com.thoughtworks。 xstream.mapper.CannotResolveClassException 原因的消息:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 类:org.apache.jorphan.collections.ListedHashTree required-type:org.apache.jorphan.collections.ListedHashTree path:/jmeterTestPlan/hashTree/hashTree/hashTree[2]/hashTree/hashTree/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor line number:76
我尝试了一切,但仍然没有成功。
这里是我得到
错误的控制台输出[错误]未能执行目标com.lazerycode.jmeter:在项目的JMeter-演示配置(配置):JMeter的,Maven的插件:2.2.0 :找不到神器公地MATH3:公地MATH3:罐子:3.4.1在中央(https://repo.maven.apache.org/maven2) - > [求助1]
您好我补充说,但现在我得到不同的错误:无法找到神器commons- math3:commons-math3:jar:3.4.1在中央 –