have you tried giving each listener a name for the jtl file? that should work.
peter On 7/24/05, Paul Spencer <[EMAIL PROTECTED]> wrote: > Peter, > Using 2.1rc1, the files written by the SimpleDataWriter and > MonitorResults are NOT written in non-gui mode. The only file written > in non-gui mode is <test_file>.jtl. Thus "jmeter-n Monitor.jmx" produces > Monitor.jtl. > > Paul Spencer > > > Peter Lin wrote: > > the monitor stats saves the statistics generated from the requests. if > > you want to save the requests to tomcat5, add a simple data writer. > > > > I'll update the docs to mention this. > > > > peter > > > > > > On 7/23/05, Paul Spencer <[EMAIL PROTECTED]> wrote: > > > >>Please note that I am using the July 17 nightly build. > >> > >>I would line to run a test plan in non-gui modes. Specifically I have a > >>test plant the monitor tomcat server for 5 minutes and output the > >>results to a file. I would like to run the test plan once an hour, via > >>cron. > >>I tried the command "jmeter-n Monitor.jxm", but what is in the file > >>generated by the "Monitor Results" is different. > >> > >>** Expected, i.e. when run in GUI mode > >><?xml version="1.0" encoding="UTF-8"?> > >> > >><testResults version="1.1"> > >> > >><monitorStats> > >> <stringProp name="stats.memload">57</stringProp> > >> <stringProp name="stats.cpuload">0</stringProp> > >> <stringProp name="stats.load">29</stringProp> > >> <stringProp name="stats.health">3</stringProp> > >> <stringProp name="stats.port">8080</stringProp> > >> <stringProp name="stats.threadload">1</stringProp> > >> <stringProp name="stats.host">localhost</stringProp> > >> <stringProp name="stats.timestamp">1122141685675</stringProp> > >> <stringProp name="stats.protocol">http</stringProp> > >></monitorStats> > >> > >></testResults> > >> > >>** Received, i.e. when run in non-gui mode > >><?xml version="1.0" encoding="UTF-8"?> > >><testResults version="1.1"> > >><sampleResult timeStamp="1122141625972" dataType="text" > >>threadName="Thread Group 1-1" label="HTTP Request" time="63" > >>responseMessage="OK" responseCode="200" success="true"/> > >></testResults> > >> > >>How do I run a test plan in non-gui mode? > >> > >> > >> > >>--------------------------------------------------------------------- > >>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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

