jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smithas <smithavi...@gmail.com>
Subject Re: scripts are not executed when running from a .bat file.
Date Tue, 10 Jul 2007 16:22:29 GMT

it worked.. Thanks

smitha


sebb-2 wrote:
> 
> [This is an MSDOS issue, not a JMeter issue]
> 
> DOS batch files behave differently from programs when invoked from a
> DOS batch file. Control returns from programs (and DOS built-ins) but
> does not return from a nested batch file.
> 
> You have to use CALL to get back control.
> 
> For example:
> 
> @echo off
> 
> dir ...
> 
> call jmeter ...
> 
> call jmeter ...
> 
> S///
> On 09/07/07, smithas <smithavimal@gmail.com> wrote:
>>
>> Hi,
>>
>> I have multiple .JMX scripts. I tried running it as a .bat file. I
>> created a
>> .bat file like this,
>>
>> dir C:\jakarta-jmeter-2.2\jakarta-jmeter-2.2\bin
>>
>> C:\jakarta-jmeter-2.2\jakarta-jmeter-2.2\bin\jmeter -n -t
>> c:\jmeter_results\analytics\modified\analytics_home.jmx -l
>> log_analytics_home.jtl
>>
>> C:\jakarta-jmeter-2.2\jakarta-jmeter-2.2\bin\jmeter -n -t
>> c:\jmeter_results\analytics\modified\Goals.jmx -l log_goals.jtl
>>
>> echo today is %DATE% %TIME%
>>
>>
>> It's executing the first script successfully . But didn't execute the
>> next
>> one. It exits from there. The second script is executed with out any
>> issues
>> if I run separately. can any on eplz tell me why this is happening
>> --
>> View this message in context:
>> http://www.nabble.com/scripts-are-not-executed-when-running-from-a-.bat-file.-tf4051250.html#a11507564
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/scripts-are-not-executed-when-running-from-a-.bat-file.-tf4051250.html#a11524327
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message