Skip to content

__TestPlanName

JMeter __TestPlanName function reference: syntax, parameters, and practical examples for parameterizing test plans with dynamic values.

Difficulty
intermediate
Guide type
reference
Estimated read time
1 min read
Last verified version
Verified JMeter 5.6

Also documented in context in the full Functions and Variables reference.

The TestPlanName function returns the name of the current test plan (can be used in Including Plans to know the name of the calling test plan).

Example:

Terminal window
\${__TestPlanName}

will return the file name of your test plan, for example if plan is in a file named Demo.jmx, it will return โ€œDemo.jmx

On this page