The following code will do the trick.

String testPlanFile = FileServer.getFileServer().getScriptName();





Manilla

Rob Schroder  l  Performance Engineer l  Office 415-625-0269  l  Mobile:
415-205-4992  l  Email: [email protected]



On 4/3/12 12:15 AM, "ZK" <[email protected]> wrote:

>Hi,
>Does this help?
>http://jmeter.apache.org/usermanual/functions.html#__TestPlanName
>
>
>
>ZK
>
>--
>View this message in context:
>http://jmeter.512774.n5.nabble.com/How-to-programmatically-get-the-name-of
>-the-script-that-s-currently-running-tp5614095p5614412.html
>Sent from the JMeter - User mailing list archive at Nabble.com.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to