apache / apache/jmeter

Saving test fragment renames the test fragment

Open
#6,170 0 comments 0 reactions 0 assignees View on GitHub
defect to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.