jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

Saving test fragment renames the test fragment

Open Breckenfield opened this issue 2 years ago • 0 comments

Expected behavior

When I right click on a test fragment and select "Save Test Fragment", after clicking save I expect the test fragment name in the UI to remain the same irrelevant of what I call the file I save it as.

Actual behavior

When I right click on a test fragment and select "Save Test Fragment", after clicking save the file is created and saved with the defined name but the Test Fragment name is changed in the UI back to the default "Test Fragment"

Steps to reproduce the problem

Create a test fragment Edit the name of the test fragment to something other than "Test Fragment" Save that test fragment using the "Save Test Fragment" option Observe the file is saved Observe the Test Fragment name has changed to "Test Fragment"

JMeter Version

5.6.2

Java Version

java version "20.0.1" 2023-04-18 Java(TM) SE Runtime Environment (build 20.0.1+9-29) Java HotSpot(TM) 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing)

OS Version

Microsoft windows 10.0.19045 Build 19045

Breckenfield avatar Dec 07 '23 12:12 Breckenfield