Atul Kumar
Atul Kumar

Reputation: 73

How to run multiple .jmx files parallely using jmeter-maven-plugin

I want to run different .jmx/jmeter testplans parallely using jmeter-maven-plugin and jenkins.

Upvotes: 1

Views: 877

Answers (2)

Ardesco
Ardesco

Reputation: 7466

There is no default parallel behaviour built into the plugin.

The way to run multiple files in parallel is to execute multiple maven jobs (with different test cases configured) at the same time. This lets you set up your memory options for individual tests (although it does add an overhead of multiple maven instances running at the same time)

Upvotes: 0

Dmitri T
Dmitri T

Reputation: 168157

Current implementation of JMeter Maven plugin seems to execute tests sequentially, you can consider running your JMeter tests via Taurus tool as a workaround. The command line will be as simple as:

bzt test1.jmx test2.jmx test3.jmx ...

You can also configure the same using simple YAML syntax.

See Taurus - Working with Multiple JMeter Tests for detailed explanation and examples.

Upvotes: 1

Related Questions