IMO, JMeter is not really designed for such usage ... Can you not use Response Assertions to do the checking instead of using the shell?
Could you not build up a JMX file to contain all the tests? It is possible to use functions and variables to parameterise tests (see my posting in the thread RE: Using csv data as input) == As to avoiding logging in each time, that depends entirely on the application you are testing, and how it determines whether you are still logged in. If it is not very secure, you might be able to extract one or more tokens (e.g. cookies or URLs) from the initial login session, and pass them to the next test. S. -----Original Message----- From: Karthik Viswanath [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 07:34 To: [EMAIL PROTECTED] Subject: Preserving 'logins' accross jmeter sessions Hi, I am trying to develop a test suite which involves execution of a 'jmx' script followed by various verification steps for each testcase (in a shell script) Currently I am using the command line options to execute the jmx script. However, when the jmx files are executed in a batch, it takes a long time to execute since 1. I am invoking jmeter from the command line for every jmx file being executed 2. I need to login for every testcase execution. (Our UI uses sockets to detect active users) A sample batch would look like ./jmeter -n -t 1.jmx -l log.jtl -H <proxy> -P 1080 ./1.sh ./jmeter -n -t 2.jmx -l log.jtl -H <proxy> -P 1080 ./2.sh ... I would also like to know of any way to execute 2.jmx "without logging in" again. Also any suggestions for a better approach than what I am currently using would be very helpful. Thanks Karthik --------------------------------------------------------------------- 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]

