-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
@gokul-ramamurthy
Description
Expected behavior
Menu entries should be consistent and non‐duplicated.
• File menu should contain file‐level actions.
• Edit menu should contain node‐level actions.
• Merge behavior should be predictable: either always preserve the current Test Plan name or always adopt the merged file’s name, regardless of selected node.
Actual behavior
1. Inconsistent Test Plan naming after merge
- If Test Plan node is selected: merged file contents are added, but the Test Plan name remains from the current plan (e.g., Test Plan A).
- If a Thread Group node is selected: merged file contents are added, but the Test Plan name changes to the merged file’s name (e.g., Test Plan B).
- This behavior is identical whether using File → Merge... or Edit → Merge....
2. - Additional observation (not part of reproduction steps)
- Duplicate menu entries exist: File → Merge... and Edit → Merge..., File → Open... and Edit → Open..., File → Save Selection As... and Edit → Save Selection As....
- These perform the same action, which may confuse users.
Steps to reproduce the problem
- Open JMeter 5.6.3.
- Create Test Plan A with a Thread Group and HTTP Request.
- Save another file as Test Plan B with a Thread Group and HTTP Request.
- Select the Test Plan node in Test Plan A.
- Use File → Merge... (or Edit → Merge...) to merge Test Plan B.
- Result: Test Plan name remains Test Plan A.
- Select the Thread Group node in Test Plan A.
- Use File → Merge... (or Edit → Merge...) to merge Test Plan B.
- Result: Test Plan name changes to Test Plan B.
JMeter Version
5.6.3
Java Version
java version "25.0.1" 2025年10月21日 LTS Java(TM) SE Runtime Environment (build 25.0.1+8-LTS-27) Java HotSpot(TM) 64-Bit Server VM (build 25.0.1+8-LTS-27, mixed mode, sharing)
OS Version
OS Version: Windows 10 Pro, Version 22H2 (OS Build 19045.6216)