I have been having problems running JMeter in Non-GUI mode. I've tried the latest 1.7.3 release as well as 1.7.2, in both Windows & Linux platforms.
The upshot of what I discovered was that to have logs written, you need to add a file name in the "Graph Results" dialog box (perhaps other listeners would work as well) before you save the test plan .jmx file & run in non-gui mode.. Just adding a -l <filename> switch on the command line resulted in the following with no results in the log.jtl file.. *C:\java\jmeter-1.7.3\bin>jmeter -n -t my_test.jmx -l log.jtl "Created the tree successfully Starting the test Running the test! (The specified path is invalid) log.jtl (The system cannot find the file specified) ERROR! Resource string not found: [running_test] Thread Thread Group-1 started log.jtl is written with no results. <?xml version="1.0" encoding="UTF-8"?> <testResults> </testResults> After I added the log.jtl file name to the "Graph Results" Listener, the logging worked fine in Non-GUI mode.. <?xml version="1.0" encoding="UTF-8"?> <testResults> <sampleResult threadName="Thread Group-1" responseMessage="OK" timeStamp="1030574600990" dataType="text" label="HTTP Request" responseCode="200" time="880" success="true"/></testResults> Now I run it without the -l switch & it works as expected.. C:\java\jmeter-1.7.3\bin>jmeter -n -t my_test.jmx Perhaps this is stated in the documentation & I missed it, or perhaps I'm doing something wrong, if so I apologize. But this hung me up for a while, so I figured I'd mention it in case it helped someone else. This method is getting the job done now. Smitch -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

