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 90BAF780F for ; Tue, 20 Sep 2011 11:03:42 +0000 (UTC) Received: (qmail 395 invoked by uid 500); 20 Sep 2011 11:03:42 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 366 invoked by uid 500); 20 Sep 2011 11:03:42 -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 357 invoked by uid 99); 20 Sep 2011 11:03:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 11:03:41 +0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of stevesenior69@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 11:03:36 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R5y6e-0004vL-9d for jmeter-user@jakarta.apache.org; Tue, 20 Sep 2011 04:03:16 -0700 Date: Tue, 20 Sep 2011 04:03:16 -0700 (PDT) From: ZK To: jmeter-user@jakarta.apache.org Message-ID: <1316516596292-4822109.post@n5.nabble.com> In-Reply-To: <1316515139694-4822064.post@n5.nabble.com> References: <1316437931013-4818919.post@n5.nabble.com> <1316504240411-4821657.post@n5.nabble.com> <1316514553597-4822045.post@n5.nabble.com> <1316515139694-4822064.post@n5.nabble.com> Subject: Re: Get max or min Value of a Variable or Regular Expression MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Do you have success with the RegEx capturing the id(s) ? After you send your 1st request can you use the Regular Expression Extractor to extract the total number of matches found? Like this: RegEx extractor: Reference Name: FirstID Regular Expression: id=(\d+) Template: $1$ Match No: -1 Default Value: NOT_FOUND The variable ${FirstID_matchNr} should tell you how many matches it has found, if this is OK I could assist you with some beanshell code to get the MAX ID value ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Get-max-or-min-Value-of-a-Variable-or-Regular-Expression-tp4818919p4822109.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