Closed alfonsomunozpomer closed 8 years ago
I’ve run both cases with -X
and noticed that verify
shows this:
[DEBUG] Configuring mojo 'com.lazerycode.jmeter:jmeter-analysis-maven-plugin:1.0.6:analyze' with basic configurator -->
[DEBUG] (f) maxSamples = 50000
[DEBUG] (f) preserveDirectories = false
[DEBUG] (f) processAllFilesFound = false
[DEBUG] (f) remoteResourcesFromUntilDateFormat = yyyyMMdd'T'HHmmssZ
[DEBUG] (f) source = /Users/test/jmeter-maven-plugin-example/target/jmeter/results/*
[DEBUG] (f) sourceDirFailed = true
[DEBUG] (f) targetDirectory = /Users/test/jmeter-maven-plugin-example/target/reports
[DEBUG] -- end configuration --
Whereas jmeter-analysis:analyze
displays this (the source
parameter is missing):
[DEBUG] Configuring mojo 'com.lazerycode.jmeter:jmeter-analysis-maven-plugin:1.0.6:analyze' with basic configurator -->
[DEBUG] (f) maxSamples = 50000
[DEBUG] (f) preserveDirectories = false
[DEBUG] (f) processAllFilesFound = false
[DEBUG] (f) remoteResourcesFromUntilDateFormat = yyyyMMdd'T'HHmmssZ
[DEBUG] (f) sourceDirFailed = true
[DEBUG] (f) targetDirectory = /Users/test/jmeter-maven-plugin-example/target
[DEBUG] -- end configuration --
It turns out the <configuration>
should be outside the <execution>
element in the POM file. I’m opening an issue in the example project.
I’m playing with jmeter-maven-plugin-example and if I run
mvn -Pperformance verify
bothjmeter-maven-plugin
andjmeter-analysis-maven-plugin
are run and everything’s fine.However, if I run first
mvn -Pperformance jmeter:jmeter
and thenmvn -Pperformance jmeter-analysis:analyze
I get this error:My
source
parameter, according to the POM file, is:And
target/jmeter/results
contains thejtl
file.Is there anything I’m not doing right?
Thanks in advance.