G'day I struggled with this sort of thing for a while.
The basic answer is that for each variable reference you have to consider when it is evaluated. The name of a log file is evaluated once prior to execution. Since the variable you are using is not defined at that time it evaluates to its own name. Ian Blavins Contract Performance Engineer Temenos -----Original Message----- From: Ronan Klyne [mailto:[EMAIL PROTECTED] Sent: 27 July 2007 15:02 To: JMeter Users List Subject: Variables in log file names Hi all, I'm using several Simple Data Writers to record data, and would like the file names to be controlled by a variable. I have set one file name field to: ..\projects\test\${log_prefix}_10user_tests_log.xml but I only get files called "${log_prefix}_10user_tests_log.xml", despite having a variable set called 'log_prefix'. Is what I want to do possible? Am I going about it the right way? Is there any way to get the data from separate test runs in separate files/directories? Ronan -- Ronan Klyne Business Collaborator Developer Tel: +44 (0)870 163 2555 [EMAIL PROTECTED] www.groupbc.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email (and any attachments) contains confidential information, and is intended only for the named recipient. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named or intended recipient, please notify TEMENOS or the sender immediately and permanently destroy this email (and any attachments) and all copies of it. No member of TEMENOS Group AG or any of its associated or affiliated companies is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of TEMENOS Group AG or any of its associated and affiliated companies. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

