0

Apache JMeter with IntelliJ and jmeter-maven-plugin [closed]

asked 2018-10-03 17:58:08 +0800

jamesmason gravatar image jamesmason
1

I want to run a jmeter script using IntelliJ and Maven. Basicaly my goal is to run a jmeter script thru Jenkins. I did following steps:

Downloaded Jmeter source code and extracted all files under C:\Jmeter\apache-jmeter-3.3 Created a script by launching jmeter using jmeter.bat Saved the script under C:\Jmeter\apache-jmeter-3.3\bin\templates\create-client.jmx

Created a new Maven Project in IntelliJ under new folder C:\Jmeter-test

Copied report-template, reportgenerator.properties under src/test/resources Copied create-client.jmx under src/test/jmeter/create-client.jmx

Modifiled pom.xml to include Jmeter plugin

<plugins>
<plugin>
    <groupId>com.lazerycode.jmeter</groupId>
    <artifactId>jmeter-maven-plugin</artifactId>
    <version>1.6.1</version>
    <executions>
        <execution>
            <id>jmeter-tests</id>
            <goals>
                <goal>jmeter</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <testFilesIncluded>
            <jMeterTestFile>create-client.jmx</jMeterTestFile>

        </testFilesIncluded>
    </configuration>
</plugin>

When i run mvn verify command, it sayd 'No Tests to Run'. I am not very familiar with IntelliJ and Maven. Not sure if i need to import existing [Jmeter souce] Mindmajix code.Any help would be appreaciated. Thanks!

delete flag offensive retag edit

The question has been closed for the following reason "question is off-topic or not relevant" by cor3000
close date 2018-10-11 14:12:05

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-11 14:10:09 +0800

cor3000 gravatar image cor3000
4143 1 7
ZK Team

updated 2018-10-11 14:11:48 +0800

It seems you found the wrong forum. This forum is about ZK. For general maven or jmeter problems I'd suggest a dedicated forum to these topics or stackoverflow.

e.g. https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki

Robert

link publish delete flag offensive edit

Question tools

Follow

RSS

Stats

Asked: 2018-10-03 17:58:08 +0800

Seen: 6 times

Last updated: Oct 11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More