This is exactly the problem that came up in our test organization.  We
couldn't figure it out (running jmeter for a specified time from the
command line) so, our solution is to have a shell script start jmeter and,
after the required time, calls shutdown.sh.  The whole thing works using
nohup and works like a charm.

Bo



                                                                                
     
   Bohdan L. Bodnar                                                             
     
   Lead Performance Engineer                                                    
     
   1-312-871-5163                                                               
     
                                                                                
     
                                                                                
      
                                                                                
      
                                                                                
      
   E-mail: [email protected]                               222 South Riverside 
Plaza 
                                                                    Chicago, IL 
60606 
                                                                        United 
States 
                                                                                
      





From:   Stuart Barlow <[email protected]>
To:     <[email protected]>
Date:   03/01/2017 10:04 AM
Subject:        Test Duration



Hi. Is there a way to define the duration a test should run via the
command line?

Is there a JMeter property available? Then it could be set using the -J
command line option

-J[prop_name]=[value]
  defines a local JMeter property.

Sorry if this was asked before.

Thanks

Stuart





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Reply via email to