Bug 52116

Summary: Allow to add (paste) entries from the clipboard to an arguments list
Product: JMeter Reporter: Roman Bargezi <rbargezi>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P3    
Version: Nightly (Please specify date)   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Proposed enhancement as a patch to build Revision 1182604
Proposed enhancement as a patch to build Revision 1182604

Description Roman Bargezi 2011-11-01 09:26:53 UTC
When defining variables and other arguments it would by useful if one could add new entries from the clipboard. I often have to prepare entries in an external list (e.g. Excel) and then need a way to easily transfer them to the test arguments.
Comment 1 Roman Bargezi 2011-11-01 09:28:59 UTC
Created attachment 27880 [details]
Proposed enhancement as a patch to build Revision 1182604
Comment 2 Sebb 2011-11-01 12:15:42 UTC
It is already possible to copy single items to/from the clipboard.

It looks like this patch implements splitting the contents of the clipboard into multiple additional rows and columns.

The patch looks OK, except that errors should be reported to the GUI, not as log messages.
Comment 3 Roman Bargezi 2011-11-01 12:39:13 UTC
(In reply to comment #2)
> It is already possible to copy single items to/from the clipboard.
> 
> It looks like this patch implements splitting the contents of the clipboard
> into multiple additional rows and columns.
> 
> The patch looks OK, except that errors should be reported to the GUI, not as
> log messages.

ok, will fix the latter and submit my patch
Comment 4 Roman Bargezi 2011-11-01 13:01:01 UTC
Created attachment 27883 [details]
Proposed enhancement as a patch to build Revision 1182604

Updated patch to show error message to user
Comment 5 Sebb 2011-11-01 13:49:40 UTC
Thanks, applied with minor change to remove the logging entirely.

URL: http://svn.apache.org/viewvc?rev=1195995&view=rev
Log:
Bug 52116 - Allow to add (paste) entries from the clipboard to an arguments list

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/config/gui/ArgumentsPanel.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
   jakarta/jmeter/trunk/xdocs/changes.xml