Bug 46779 - ${variable} expansion fails in listeners when running remote
Summary: ${variable} expansion fails in listeners when running remote
Status: RESOLVED DUPLICATE of bug 42012
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.3.2
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 13:09 UTC by Kelly Summerlin
Modified: 2011-11-11 14:14 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelly Summerlin 2009-02-27 13:09:18 UTC
I defined two listeners in my JML both of which used the ${TESTSTART.MS} variable like this: ErrorResults-${TESTSTART.MS}.xml

When I run the test with JMeter GUI or JMeter non-GUI, the file names are created correctly with the variable replaced. But when I run this test with remote servers, the host writes out the file name without the variable replaced.

I tried this with the Sample Writer and the Aggregate Report with the same result.

This looks similar to a Bug 25207 fixed back in 1.9.1, but this time it only affects the remote execution.
Comment 1 Sebb 2009-05-07 17:03:21 UTC
The problem is that the variables are only defined if the JMeter instance actually runs a test. 

Although the samples are generated on a running instance (the server) the output files are created by the client, so the variables are not set up.
Comment 2 Philippe Mouawad 2011-11-11 14:14:30 UTC

*** This bug has been marked as a duplicate of bug 42012 ***
Comment 3 The ASF infrastructure team 2022-09-24 20:37:43 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2202