afranken / jmeter-analysis-maven-plugin

Plugin that parses JMeter result files and computes performance indicators such as average request duration
58 stars 40 forks source link

How to run JUST the analyzer #28

Open tim-gp opened 9 years ago

tim-gp commented 9 years ago

Hi, I'm using in conjunction with the jmeter-plugin and I would like run the analyser again on some existing results. How can I do this please?

I've tried failsafe:post-integration-test without any luck.

djangofan commented 9 years ago

Run with goal 'verify' with 'skipTests' option? On Jun 25, 2015 1:05 PM, "timdp" notifications@github.com wrote:

Hi, I'm using in conjunction with the jmeter-plugin and I would like run the analyser again on some existing results. How can I do this please?

I've tried failsafe:post-integration-test without any luck.

— Reply to this email directly or view it on GitHub https://github.com/afranken/jmeter-analysis-maven-plugin/issues/28.

afranken commented 9 years ago

@timpoultney are you using the jmeter-example-workspace? You could refactor the POM to run the plugins with different profiles, and then activate them based on system properties:

<profiles>
  <profile>
    <id>run-jmeter-tests</id>
    <activation>
      <property>
      <name>!my.activation.property</name>
      </property>
    </activation>
tim-gp commented 9 years ago

Hi, thanks for the response. @djangofan, I have a complex POM so skip tests is not enough. @afranken, no, I have my own many layered pom with many existing profiles. I want to know how to invoke the specific Maven phase to activate just the analyser on it's on. ie. failsafe:integration-test only executes the integration tests.