<propertiesUser>
tag, otherwise it won't know what you are defining
ok.. could you pls guide how to copy the cmdrunner.jar from ext to lib folder-- im not sure how to do this as the folder name is random generated everytime
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>copy-cmdrunner-to-lib-folder</id>
<phase>post-integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<basedir>${basedir}/target/jmeter/lib/ext</basedir>
Thanks Mark for the reply.
I am using something like below in my pom.xml file to generate the HTML Dashboard. The multiple profile generation which creates a random folder in between is creating problem in the generation of the report. Hence wanted to know how one could eliminate the random folder or include that in the folder path:
<java jar="${basedir}/target/jmeter/bin/ApacheJMeter-5.1.1.jar" fork="true">
<arg value="-g" />
<arg value="${basedir}/target/jmeter/results/Demo.csv" />
<arg value="-o" />
<arg value="${basedir}/target/jmeter/results/dashboard" />
</java>
Hi. In my Maven project, I have implemented a custom JavaSampler for JMeter, and it has a couple of transitive dependencies. Is it there any easy way to run JMeter with my JavaSampler without having to specify every transitive dependency manually? I found this plugin, but I couldn't quite get it to work. I tried with in the same Maven project where I have my JavaSampler:
<configuration>
<jmeterExtensions>
<artifact>my-group:my-java-sampler:1.0-SNAPSHOT</artifact>
</jmeterExtensions>
</configuration>
but it seems like it cannot resolve dependencies in the same project, I get this error: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact ...