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.
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.
*** This bug has been marked as a duplicate of bug 42012 ***
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2202