Bug 62295

Summary: Strange order of duplicated elements
Product: JMeter - Now in Github Reporter: Felix Schumacher <felix.schumacher>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 4.0   
Target Milestone: JMETER_5.0   
Hardware: PC   
OS: Linux   

Description Felix Schumacher 2018-04-12 19:38:53 UTC
I just tried to duplicate multiple elements using ctrl+shift+c and found the result a bit irritating.

Before the copy action I had two elements (samplers):

 sampler a
 sampler b

I marked all of them and duplicated them using ctrl+shift+c which gave me

 sampler a
 sampler b
 sampler b
 sampler a

My expected result would have been

 sampler a
 sampler b
 sampler a
 sampler c
Comment 1 Felix Schumacher 2018-04-13 18:15:46 UTC
Date: Fri Apr 13 18:14:29 2018
New Revision: 1829092

URL: http://svn.apache.org/viewvc?rev=1829092&view=rev
Log:
Correct order of elements when duplicating a selection of multiple elements.

Bugzilla Id: 62295

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Duplicate.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:38:13 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4757