> You could try with 3 Thread Groups, and run them > sequentially rather than concurrently.
Sadly, this doesn't work. When the test plan begins, JMeter seems to open the output file for every listener in the test plan. Therefore, even if I run thread groups sequentially, JMeter locks the output files for thread group 2 right at the beginning, so thread group 1 can't rename the file even though thread group 2 hasn't started yet. Instead, I plan to run JMeter in non-GUI mode from a batch file, and do the renaming from the batch file. Probably a better option for automated testing anyway. Cheerio, Bennett. On 23/02/06, Bennett McElwee <[EMAIL PROTECTED]> wrote: > Is it possible to have a sampler that runs once at the beginning of the > test plan? > > The Once Only Controller won't do it reliably -- that's not what it's > for. What I want is a sampler that runs to completion before any other > samplers are executed in any thread. > > And on a related note, I'd like to be able to run a sampler at the end, > after all other samplers, listeners, etc have finished. > > The reason I want this is so I can move and rename the output files > produced by the Simple Data Writer listeners in the test plan. I have to > rename the old one before any samplers run, and then rename the new one > after all samplers (and their listeners) have finished. I want to do > this with a BeanShell Sampler. > > Is it possible? Somehow I just can't figure out a way to do it. > > Thanks, > Bennett. > -- > Bennett McElwee > > This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002. > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

