A workaround for the last problem: Set: <downloadExtensionDependencies>false</downloadExtensionDependencies> This does however mean that you will need to manually set all the dependencies that this jmeter-plugins depends upon in your <jmeterExtensions> block. Please give feedback on this. Thanks Regards
On Tue, Nov 7, 2017 at 11:20 AM, Philippe Mouawad < [email protected]> wrote: > Hello, > > Both plugins are 3rd party plugins , this mailing list is not the right > place to ask for that. > > Still , being a commiter on jmeter-maven-plugin I 'll answer for my part. > > You're using the wrong syntax and jmeter plugin: > 1/ This is what you should set: > <jmeterExtensions> > <artifact>kg.apc:jmeter- > plugins-casutg:2.4</artifact> > </jmeterExtensions> > > > 2/ And remove from your pom this: > <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> > 3/ Use last version of jmeter-maven-plugin which is 2.4.1 released > yesterday. > > You'll still face an issue because the jmeter plugin you use seems to rely > on an old version of jmeter which contains an error in pom. > > Regards > > > On Tue, Nov 7, 2017 at 10:34 AM, Chamara Ariyarathne <[email protected]> > wrote: > >> 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/20 >> 171106-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.ScriptW >> rapperConverter >> [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%20Additional% >> 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>* >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > > -- > Cordialement. > Philippe Mouawad. > Ubik-Ingénierie > > UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/> > > UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack> > > -- Cordialement. Philippe Mouawad. Ubik-Ingénierie UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/> UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
