Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONPathExtractor error #194

Closed
desaip01 opened this issue Aug 29, 2016 · 4 comments
Closed

JSONPathExtractor error #194

desaip01 opened this issue Aug 29, 2016 · 4 comments

Comments

@desaip01
Copy link

desaip01 commented Aug 29, 2016

When trying to run my test plan I get the following error message. Can you please help

Problem loading XML from:'/Users/target/jmeter/testFiles/PerfNightly.jmx', missing class com.thoughtworks.xstream.converters.ConversionException: com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
[INFO] ---- Debugging information ----
[INFO] message : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
[INFO] cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
[INFO] cause-message : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
[INFO] class : org.apache.jorphan.collections.ListedHashTree
[INFO] required-type : org.apache.jorphan.collections.ListedHashTree
[INFO] converter-type : org.apache.jmeter.save.converters.HashTreeConverter
[INFO] path : /jmeterTestPlan/hashTree/hashTree/hashTree[2]/hashTree[5]/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
[INFO] line number : 234
[INFO] ------------------------------- : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor

Below is my POM file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.XYZ</groupId> <artifactId>xyz-performance</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>xyz-performance</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>kg.apc</groupId> <artifactId>jmeter-plugins-extras-libs</artifactId> <version>1.4.0</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <version>2.0.3</version> <executions> <execution> <id>jmeter-tests</id> <phase>verify</phase> <goals> <goal>jmeter</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>

@afranken
Copy link
Contributor

Hi,
please take a look at the documentation. This article should solve your problem:
https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additional%20Libraries%20To%20The%20Classpath
Cheers,
Arne

@desaip01
Copy link
Author

Thank you @afranken it did work for me.

@abhinav-chaayos
Copy link

abhinav-chaayos commented Apr 19, 2019

@afranken the content has been removed from this link, can u please share it again?

@Ardesco
Copy link
Contributor

Ardesco commented Apr 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants