I am trying to run a jmeter project which contains "bzm - Concurrency Thread Group" through a maven project. The pom file is attached here.
There's an error I'm getting which blocks the running of the jmeter project with maven as following; [INFO] Executing test: Concurrency_Thread_Group.jmx [INFO] Starting process with:[java, -Xms512M, -Xmx512M, -jar, ApacheJMeter-3.2.jar, -d, /home/chamara/stress-test-framework/target/jmeter, -j, /home/chamara/stress-test-framework/target/jmeter/logs/Concurrency_Thread_Group.jmx.log, -l, /home/chamara/stress-test-framework/target/jmeter/results/ 20171106-CUSTOM_Concurrency_Thread_Group.csv, -n, -t, /home/chamara/stress-test-framework/target/jmeter/testFiles/ CUSTOM/Concurrency_Thread_Group.jmx] [INFO] Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/home/chamara/stress-test-framework/target/jmeter/test Files/CUSTOM/Concurrency_Thread_Group.jmx', missing class com.thoughtworks.xstream.converters.ConversionException: [INFO] ---- Debugging information ---- [INFO] cause-exception : com.thoughtworks.xstream.conve rters.ConversionException [INFO] cause-message : [INFO] first-jmeter-class : org.apache.jmeter.save.convert ers.HashTreeConverter.unmarshal(HashTreeConverter.java:67) [INFO] class : org.apache.jmeter.save.ScriptWrapper [INFO] required-type : org.apache.jorphan.collections.ListedHashTree [INFO] converter-type : org.apache.jmeter.save.ScriptWrapperConverter [INFO] path : /jmeterTestPlan/hashTree/hashT ree/com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup [INFO] line number : 94 [INFO] version : 3.2 r1790748 [INFO] ------------------------------- I have tried the solution as mentioned in here; https://github.com/jmete r-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additiona l%20Libraries%20To%20The%20Classpath yet it is not successful. Did anyone encounter this before? How do I solve it? -- *Chamara Ariyarathne* WSO2 Inc; http://www.wso2.com/ Mobile; *+94772786766 <077%20278%206766>*
<?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.wso2.stresstestframework</groupId> <artifactId>stress-test-framework</artifactId> <version>1.0-SNAPSHOT</version> <build> <plugins> <plugin> <artifactId>exec-maven-plugin</artifactId> <groupId>org.codehaus.mojo</groupId> <executions> <execution><!-- Run our version calculation script --> <id>Version Calculation</id> <phase>generate-sources</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>${basedir}/stress-framework/make_stress.sh</executable> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <version>2.4.0</version> <executions> <execution> <id>jmeter-tests</id> <goals> <goal>jmeter</goal> </goals> </execution> </executions> <configuration> <jmeterVersion>3.2</jmeterVersion> <jmeterExtensions> <artifact>kg.apc:jmeter-plugins:pom:1.1.3</artifact> </jmeterExtensions> <testFilesIncluded> <!--<jMeterTestFile>path/sample.jmx</jMeterTestFile>--> <!--<jMeterTestFile>CUSTOM/Stepping_Thread_Test_Any_Product.jmx</jMeterTestFile>--> <jMeterTestFile>CUSTOM/Concurrency_Thread_Group.jmx</jMeterTestFile> </testFilesIncluded> <propertiesJMeter> <log_level.jmeter>DEBUG</log_level.jmeter> </propertiesJMeter> <propertiesFilesDirectory>CUSTOM/</propertiesFilesDirectory> <resultsFileFormat>csv</resultsFileFormat> </configuration> </plugin> </plugins> </build> <dependencies> <!-- https://mvnrepository.com/artifact/com.lazerycode.jmeter/jmeter-maven-plugin --> <dependency> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <version>2.0.3</version> </dependency> <dependency> <groupId>kg.apc</groupId> <artifactId>jmeter-plugins-standard</artifactId> <version>1.1.3</version> </dependency> </dependencies> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
