[
https://jira.codehaus.org/browse/MCHRONOS-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Connolly updated MCHRONOS-41:
-------------------------------------
Affects Version/s: 1.0-beta-1
Fix Version/s: 1.0-beta-3
> Problem with both historic and curent reports
> ---------------------------------------------
>
> Key: MCHRONOS-41
> URL: https://jira.codehaus.org/browse/MCHRONOS-41
> Project: Mojo's Chronos Maven Plugins
> Issue Type: Bug
> Components: Report plugin
> Affects Versions: 1.0-beta-1
> Environment: maven 3
> Reporter: Kent Sølvsten
> Assignee: Kent Sølvsten
> Priority: Minor
> Fix For: 1.0-beta-3
>
>
> Hi!
>
> I'm trying to generate reports (historyreport and report) based on
> chronos-jmeter executions using Maven 3.0.3. Basically following the sample
> found here.
>
> A code-snippet from my pom.xml below:
> ...
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>chronos-jmeter-maven-plugin</artifactId>
> <version>1.0-beta-1</version>
> <executions>
> <execution>
> <id>Testing</id>
> <configuration>
> <dataid>testperftest</dataid>
>
>
> <input>${project.basedir}/src/test/jmeter/testar.jmx</input>
> <historydir>${project.basedir}/history</historydir>
> </configuration>
> <phase>integration-test</phase>
> <goals>
> <goal>jmeter</goal>
> <goal>savehistory</goal>
> <goal>check</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
>
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>3.0</version>
> <configuration>
> <reportPlugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>chronos-report-maven-plugin</artifactId>
> <version>1.0-beta-1</version>
> <configuration>
> <dataid>testperftest</dataid>
> <title>JMeter Test history</title>
> <description>This is a test report illustrating the different parts of the
> reports.</description>
> <showgc>false</showgc>
> <historydir>${project.basedir}/history</historydir>
> </configuration>
> <reports>
> <report>report</report>
> <report>historyreport</report>
> </reports>
> </plugin>
> </reportPlugins>
> </configuration>
> </plugin>
> ...
>
> Then I execute mvn clean site
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JMeter test 1.1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ tests ---
> [INFO] Deleting C:\SVN\trunk\lab\jmeter-lab\target
> [INFO]
> [INFO] --- maven-site-plugin:3.0:site (default-site) @ tests ---
> [INFO] configuring report plugin
> org.codehaus.mojo:chronos-report-maven-plugin:1.0-beta-1
> [INFO]
> [INFO] >>> chronos-report-maven-plugin:1.0-beta-1:historyreport
> (report:historyreport) @ tests >>>
> [INFO]
> [INFO] --- chronos-jmeter-maven-plugin:1.0-beta-1:jmeter (Testing) @ tests ---
> [INFO] No bootstrapper class found
> [INFO] Excuting test C:\SVN\trunk\lab\jmeter-lab\src\test\jmeter\testar.jmx
> [WARNING] Artifact not found. Note that if Your JMeter test contains
> JUnittestcases, You can only invoke this goal through the default lifecycle.
> [INFO] Created the tree successfully using
> C:\SVN\trunk\lab\jmeter-lab\src\test\jmeter\testar.jmx
> [INFO] Starting the test @ Fri Nov 11 16:41:12 CET 2011 (1321026072034)
> [INFO] Waiting for possible shutdown message on port 4445
> [INFO] Tidying up ... @ Fri Nov 11 16:41:12 CET 2011 (1321026072740)
> [INFO] ... end of run
> [INFO]
> [INFO] --- chronos-jmeter-maven-plugin:1.0-beta-1:savehistory (Testing) @
> tests ---
> [INFO]
> [INFO] --- chronos-jmeter-maven-plugin:1.0-beta-1:check (Testing) @ tests ---
> [INFO]
> [INFO] <<< chronos-report-maven-plugin:1.0-beta-1:historyreport
> (report:historyreport) @ tests <<<
> [WARNING] No project URL defined - decoration links will not be relativized!
> [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0
> skin.
> [INFO] Generating "history-testperftest" report ---
> chronos-report-maven-plugin:1.0-beta-1
> [INFO] generating charts...
> [warn] [XHTML Sink] Modified invalid anchor name: '0testperftest' to
> 'a0testperftest'
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.344s
> [INFO] Finished at: Fri Nov 11 16:41:15 CET 2011
> [INFO] Final Memory: 11M/162M
> [INFO]
> ------------------------------------------------------------------------
>
> As seen from Maven output, there's only a historyreport generated. I'm
> expecting a report and a historyreport. Why isn't the report also generated?
> Am I missing something here? Using Maven 2 and the <reporting> syntax without
> mave-site-plugin generates 2 reports.
>
> Thanks and regards,
>
> Mattias
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email