Return-Path: X-Original-To: apmail-jakarta-jmeter-user-archive@www.apache.org Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CBBA7651 for ; Mon, 29 Aug 2011 20:38:02 +0000 (UTC) Received: (qmail 46387 invoked by uid 500); 29 Aug 2011 20:38:01 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 46105 invoked by uid 500); 29 Aug 2011 20:38:00 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 46087 invoked by uid 99); 29 Aug 2011 20:37:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 20:37:59 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 20:37:53 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Qy8aK-0002bT-D2 for jmeter-user@jakarta.apache.org; Mon, 29 Aug 2011 13:37:32 -0700 Date: Mon, 29 Aug 2011 13:37:32 -0700 (PDT) From: kushalag To: jmeter-user@jakarta.apache.org Message-ID: <1314650252391-4747712.post@n5.nabble.com> Subject: Storing values in an Array MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to run a login scenario test with subsequent keep-alive type messages. The scenario is: 1) User logs in 2) Server responds with ok message and sends a session ID and unique token 3) At regular intervals the user sends a "keep-alive" message with session ID and unique token, every 6 seconds I already have a reg-expression extractor to extract the session ID and token from the server's response, however I need to increase the number of users in the same thread (without changing the number of threads). Therefore, i created a loop with a counter to run through the login sequence for each of the users (user names are numeric). What I need to know now is how to store the unique token for each user into a single variable that I can feed into a for-each loop for the keep-alive messages. Thanks, Kushal -- View this message in context: http://jmeter.512774.n5.nabble.com/Storing-values-in-an-Array-tp4747712p4747712.html 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