Bug 61481 - Help Menu Item to export transaction for Web report
Summary: Help Menu Item to export transaction for Web report
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.2
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-02 18:09 UTC by Philippe Mouawad
Modified: 2017-09-08 18:56 UTC (History)
1 user (show)



Attachments
First launch is ok (27.86 KB, image/png)
2017-09-08 14:34 UTC, Antonio Gomes Rodrigues
Details
If you change the language (here I just click in Change language and choose English (it works with other language) (26.86 KB, image/png)
2017-09-08 14:35 UTC, Antonio Gomes Rodrigues
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2017-09-02 18:09:17 UTC
With big plans it is cumbersome to export transactions names for use in  'jmeter.reportgenerator.exporter.html.series_filter'.

The idea here is to create a menu item which exports those by scanning the Test tree and using:

- Sampler except Debug Sampler, TestAction (as it is used by Add Think Time) 
- + test element names must match a configurable regex. Regex use same naming convention as Apply Naming Convention
Comment 1 Philippe Mouawad 2017-09-02 18:16:32 UTC
Author: pmouawad
Date: Sat Sep  2 18:15:22 2017
New Revision: 1807067

URL: http://svn.apache.org/viewvc?rev=1807067&view=rev
Log:
Bug 61481 - Help Menu Item to export transaction for Web report
Bugzilla Id: 61481

Added:
    jmeter/trunk/src/components/org/apache/jmeter/gui/
    jmeter/trunk/src/components/org/apache/jmeter/gui/action/
    jmeter/trunk/src/components/org/apache/jmeter/gui/action/ExportTransactionAndSamplerNames.java   (with props)
Modified:
    jmeter/trunk/bin/reportgenerator.properties
    jmeter/trunk/bin/user.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
    jmeter/trunk/xdocs/changes.xml
Comment 2 Philippe Mouawad 2017-09-02 18:42:44 UTC
Author: pmouawad
Date: Sat Sep  2 18:42:21 2017
New Revision: 1807072

URL: http://svn.apache.org/viewvc?rev=1807072&view=rev
Log:
Bug 61481 - Help Menu Item to export transaction for Web report
Improve layout and center label

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/gui/action/ExportTransactionAndSamplerNames.java
Comment 3 Antonio Gomes Rodrigues 2017-09-08 14:34:30 UTC
Created attachment 35311 [details]
First launch is ok
Comment 4 Antonio Gomes Rodrigues 2017-09-08 14:35:29 UTC
Created attachment 35312 [details]
If you change the language (here I just click in Change language and choose English (it works with other language)
Comment 5 Antonio Gomes Rodrigues 2017-09-08 14:36:20 UTC
i have something strange

first launch of JMeter is ok

If you click in change language, the label is "lost"
Comment 6 Antonio Gomes Rodrigues 2017-09-08 17:04:00 UTC
Fixed in 1807785

I have replaced 

private static final String EXPORT_NAMES = "export_trans_names";

by

private static final String EXPORT_NAMES = "export_transactions_menu";
Comment 7 Philippe Mouawad 2017-09-08 17:05:00 UTC
(In reply to Antonio Gomes Rodrigues from comment #6)
> Fixed in 1807785
> 
> I have replaced 
> 
> private static final String EXPORT_NAMES = "export_trans_names";
> 
> by
> 
> private static final String EXPORT_NAMES = "export_transactions_menu";

Hi Antonio,
Can you paste the start of commit mail you receive, it contains the URL to svn which makes it easier to review.

Thanks
Comment 8 Philippe Mouawad 2017-09-08 18:56:31 UTC
Author: agomes
Date: Fri Sep  8 17:00:55 2017
New Revision: 1807785

URL: http://svn.apache.org/viewvc?rev=1807785&view=rev
Log:
Fix bad label in org.apache.jmeter.gui.action.ExportTransactionAndSamplerNames

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/gui/action/ExportTransactionAndSamplerNames.java


Author: pmouawad
Date: Fri Sep  8 18:54:43 2017
New Revision: 1807802

URL: http://svn.apache.org/viewvc?rev=1807802&view=rev
Log:
Bug 61481 - Help Menu Item to export transaction for Web report
Bugzilla Id: 61481

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/gui/action/ExportTransactionAndSamplerNames.java
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
Comment 9 Philippe Mouawad 2017-09-08 18:56:42 UTC
Thanks for review