M_McDonald
15 years agoSuper Contributor
[SOLVED]ThreadIndex in DataSink file name
I am running a load test with a test case that has a DataSink that writes to an Excel file. I want to use the ThreadIndex to create unique filenames, but I keep getting 0 for all threads.
Here is the Out File value:
and a resulting filename:
What am I doing wrong?
I am using build 3.0-pro-daily-build-2009-09-28-[1]
Thanks.
Here is the Out File value:
${projectDir}/results/${#TestCase#datasinkFile} - ${=String.format('%tY%<tm%<td-%<tH%<tM%<tS', new GregorianCalendar())} - ${ThreadIndex}.xls
and a resulting filename:
Test Results - 20091014-144643 - 0.xls
What am I doing wrong?
I am using build 3.0-pro-daily-build-2009-09-28-[1]
Thanks.