Perfmon and maven-jmeter-plugin

152 views
Skip to first unread message

Ioan Stanciu

unread,
Jul 15, 2014, 4:04:43 AM7/15/14
to maven-jmeter...@googlegroups.com
Hi guys,

I'm trying to run a JMeter script that also uses the perfmon JMeter plugin to collect some metrics from the server where the application under test runs. Is is possible to run this test by the use of the maven-jmeter-plugin? I added JMeterPlugins-Standard as a dependency to my project's POM XML file.

Can you please give me some suggestions?

Thank you,

Ioan Stanciu
QA Engineer, Qiagen

Mark Collin

unread,
Aug 30, 2014, 7:27:04 PM8/30/14
to maven-jmeter...@googlegroups.com
There are some issues with jmeter-plugins standard, see: https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/issues/92

Ot should work in maven 3, but won’t in maven 2.

You should be able to add a specific dependency to perfmon in the plugin by doing:

    <plugins>
        <plugin>
            <groupId>com.lazerycode.jmeter</groupId>
            <artifactId>jmeter-maven-plugin</artifactId>
            <version>1.10.0</version>
            <configuration>
                <jmeterPlugins>
                    <plugin>
                        <groupId>kg.apc</groupId>
                        <artifactId>perfmon</artifactId>
                    </plugin>
                </jmeterPlugins>
            </configuration>
            <executions>
                <execution>
                    <id>jmeter-tests</id>
                    <phase>verify</phase>
                    <goals>
                        <goal>jmeter</goal>
                    </goals>
                </execution>
            </executions>
            <dependencies>
                <dependency>
                    <groupId>kg.apc</groupId>
                    <artifactId>perfmon</artifactId>
                    <version>2.2.2</version>
                </dependency>
            </dependencies>
        </plugin>
    </plugins>


I haven’t tried it myself though.

Regards

Mark

--
You received this message because you are subscribed to the Google Groups "Maven JMeter Plugin Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-jmeter-plugi...@googlegroups.com.
To post to this group, send email to maven-jmeter...@googlegroups.com.
Visit this group at http://groups.google.com/group/maven-jmeter-plugin-users.
For more options, visit https://groups.google.com/d/optout.

signature.asc
Reply all
Reply to author
Forward
0 new messages