Bug 58876 - TestPlanName function returns null for a newly saved Test Plan and uses previously opened one for a new one
Summary: TestPlanName function returns null for a newly saved Test Plan and uses previ...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 minor (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 09:23 UTC by Philippe Mouawad
Modified: 2017-09-03 19:40 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 The ASF infrastructure team 2022-09-24 20:38:02 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3785