Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 2.07 KB

README.md

File metadata and controls

42 lines (26 loc) · 2.07 KB

JMeter Maven Plugin Example

Join the chat at https://gitter.im/jmeter-maven-plugin/jmeter-maven-plugin Build Status

Overview

This is an example project for running a JMeter test with the JMeter Maven Plugin and the JMeter Analysis Maven Plugin out of the box.

It runs a JMeter test against a few URLs on www.mozilla.com and illustrates how the maven plugin can be used to run with different configurations, for example a "warmup" and a "real" test.

Included is a JMeter Testplan test.jmx that supports 4 distinct threadgroups which can be configured individually.

Look at the included files for further information, the pom.xml is fully commented, and the JMeter Testplan test.jmx as well.

Usage

  • Execute mvn verify -Pperformance
  • look in target/jmeter/report/ for the JMeter results file
  • look in target/reports/ for the Report generated by the JMeter Analysis Maven Plugin

URL lists

The URLs in the file urls.txt have to be relative to the hostname.

You could use a website crawler/broken link checker to generate a URL list for your test content. Possible tools:

Credits

Part of the development of this workspace is sponsored by CoreMedia