jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: JMETER CMD Batch Exits
Date Fri, 20 Aug 2010 22:20:39 GMT
On 20 August 2010 22:56, Prakash Viswanathan <rushtoprakash@gmail.com> wrote:
> Hello
>
> I am trying to queue up jmeter tasks like the one shown below in a .bat file
> and run it from cmd prompt, but that batch script exits as soon as it
> completes one invocation.

This is a DOS question.

> jmeter -n -t d:\JMeter\MYPROJ.jmx -Jtc=40 -Jloops=5000 -Jin=inputfile.csv
> -Jout=d:\outputfolder
> jmeter -n -t d:\JMeter\MYPROJ.jmx -Jtc=40 -Jloops=5000 -Jin=inputfile2.csv
> -Jout=d:\outputfolder2
> jmeter -n -t d:\JMeter\MYPROJ.jmx -Jtc=40 -Jloops=5000 -Jin=inputfile3.csv
> -Jout=d:\outputfolder3
>
> Can someone tell me why this is happeneing and how to get past this, i've to
> queue up a large number of tasks.

That's because 'jmeter' here is a batch file, not an executable or a
built-in command.

You need to use "call jmeter" to ensure that the calling script continues.

> Thanks in advance.
>
> Thanks
> Prakash
>

---------------------------------------------------------------------
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