Re: how to run jmeter from within JAVA program

2008-06-13 Thread sebb
On 13/06/2008, Nikesh Goel [EMAIL PROTECTED] wrote: Hi Sebb I am still not clear as to how can I make my jmx file run in non gui mode from within a JAVA program. Apparently, the way I am trying to pass the arg to NewDriver class is wrong (no matter whether I use -t or --testfile). I am

Re: how to run jmeter from within JAVA program

2008-06-12 Thread Nikesh Goel
Hi Sebb I am still not clear as to how can I make my jmx file run in non gui mode from within a JAVA program. Apparently, the way I am trying to pass the arg to NewDriver class is wrong (no matter whether I use -t or --testfile). I am unable to make my java program know about the jmx testfile and

Re: how to run jmeter from within JAVA program

2008-06-11 Thread sebb
On 11/06/2008, Nikesh Goel [EMAIL PROTECTED] wrote: Hi, I am new to this list so please excuse me if you are receiving this message in duplicate. Please see my question below. Thanks!! Hi How can I setup my JAVA code to run the testfile (.JMX file) and collect the logs in some .xml

Re: how to run jmeter from within JAVA program

2008-06-11 Thread Nikesh Goel
The invoke() is just fine... I am actually not sure of these: argListForInvokedMain[0] = -testfile=test.jmx; argListForInvokedMain[1] = -logfile=test-1-1-1.xml; I don't know the correct way of passing those two values to that NewDriver class. It may be that I am trying with wrong class or

Re: how to run jmeter from within JAVA program

2008-06-11 Thread sebb
On 11/06/2008, Nikesh Goel [EMAIL PROTECTED] wrote: The invoke() is just fine... I am actually not sure of these: argListForInvokedMain[0] = -testfile=test.jmx; argListForInvokedMain[1] = -logfile=test-1-1-1.xml; No idea where you got these parameters from, but they are incorrect.