Bug 58876

Summary: TestPlanName function returns null for a newly saved Test Plan and uses previously opened one for a new one
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: minor CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Philippe Mouawad 2016-01-16 09:23:11 UTC
Create a new Test Plan
Create:
Test Plan
       |----Thread Group
                |- DebugSampler with name set to ${__TestPlanName}


Run it, DebugSampler will show null

Save it , reload it, it works
Comment 1 Philippe Mouawad 2017-09-03 19:40:09 UTC
Author: pmouawad
Date: Sun Sep  3 19:34:37 2017
New Revision: 1807164

URL: http://svn.apache.org/viewvc?rev=1807164&view=rev
Log:
Bug 58876 - TestPlanName function returns null for a newly saved Test Plan and uses previously opened one for a new one
Bugzilla Id: 58876

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Close.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
    jmeter/trunk/src/functions/org/apache/jmeter/functions/TestPlanName.java
    jmeter/trunk/xdocs/changes.xml