Hi Nythia,

I haven't heard of a possibility to change test plan variables from the command line yet. To work around this you could write a csv file which is editable via the nano or pico editors. You may have to install cygwin if you're not on a linux machine. Having done that, you could even edit the jmx in the command prompt for it is a 'simple' xml file. I wouldn't suggest that, though, and you will agree once you've tried.

rgds
Karsten

Am 19.08.2010 14:47, schrieb Nithya Prakash:
Hi Karsten,

Thanks man.. Its working now. I have another query... Is it possible to
change the input value's from command prompt ??

Eg: I have a variable in UDV named "uname" and its value is " JUser ". Now I
need to change the user name to "CMDUser" from the command prompt itself.

I have seen the various command line options, but unable to understand. can
u pls guide me??

Regards
Nithya.

On Thu, Aug 19, 2010 at 4:19 PM, Karsten Gaul<[email protected]>wrote:

Hi Nithya

Once you're in your bin folder, type the following:

java -jar ApacheJMeter.jar -n -t<testfile>

rgds
Karsten

Am 19.08.2010 12:38, schrieb Nithya Prakash:

  Hi

Till now I was running the test scripts in GUI mode which I found it
comfortable. Now my task is to run my scripts in non-gui mode. I require
your help in executing it. I have created a test script in GUI mode and
saved it as "cmdtc.jmx". Now my objective is to run this testcase in
command
line. I have gone thru' few materials reg this but am not able to
understand
properly. Kindly help me out.

Steps I followed:
1. Opened the cmd.
2. Entered the syntax as shown
" C:\Documents and
Settings\tt\Desktop\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin\jmeter
-n
-t C:\Documents and Settings\nithya.prakash\Desktop\cmdtc.jmx "

When I execute this I am getting
" An error occurred: Unkown arg: and
errorlevel=1  "

Am unable to understand where i'm goin wrong.... can anybody help me out
please ??


Regards
Nithya



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



--
Karsten Gaul
Dipl. Medieninf.
Softwareentwickler

Telefon +49 (351) 4108-135
Fax +49 (351) 4108-5135
[email protected]
www.exedio.com

exedio GmbH
Buchenstr. 16 B
01097 Dresden
Deutschland

Handelsregister: HRB 22109
Amtsgericht Dresden
Sitz der Gesellschaft: Dresden
Geschäftsführer: Sven-Erik Bornscheuer, Lutz Kirchner, Falk Krause

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

Reply via email to