If you use a BeanShell and the command exec("LocationOfBatchFile.bat") this
will run a batch file for you and any output will go to the batch file that
launched JMeter,

Eddie
                                                                                
       
                                                                                
       
                                                                                
       
 Eddie O'Sullivan                                                      
(Embedded image 
 Application Performance                                                moved 
to file: 
 Group                                                                   
pic17219.gif) 
                                                                                
       
 QAD Ireland Ltd.                             [EMAIL PROTECTED]                 
             
 Hamilton House                               Tel:  +353 61 213616              
       
 National Technological Park                                                    
       
 Limerick, Ireland                                                              
       
 http://www.qad.com/                                                            
       
                                                                                
       
                                                                                
       
 A Passion for Manufacturing                                                    
       
                                                                                
       
                                                                                
       
 This e-mail may contain QAD                                                    
       
 proprietary information and                                                    
       
    should be treated as                                                        
       
        confidential.                                                           
       
                                                                                
       





                                                                           
             sebb                                                          
             <[EMAIL PROTECTED]                                             
             >                                                          To 
                                       "JMeter Users List"                 
             28/03/2006 23:40          <[email protected]>    
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
               "JMeter Users           Re: Running batch files             
                   List"                                                   
             <[EMAIL PROTECTED]                                             
              rta.apache.org>                                              
                                                                           
                                                                           
                                                                           




JMeter can't run arbitrary batch scripts.

But you can run JMeter from a batch file - read up about non-GUI mode.

In windows, you can drop a JMX file onto jmeter-n.bat and it will
automatically run the script in non-GUI mode.

And you can write your own batch script to run jmeter in non-GUI mode.

S.
On 28/03/06, Derek Bradley <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Hi,
>
> Is there a (simple) way of launching batch file scripts
> from Jmeter?
>
> ie.  Instead of hitting a URL, is it possible to launch a command
> line batch file instead?  I'm not too worried about waiting for
> control to return, as I can record the execution times of those
> batch files in the batch files themselves.
>
> Regards,
> Derek
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to