Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 87796 invoked from network); 15 Jan 2008 08:38:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2008 08:38:30 -0000 Received: (qmail 75304 invoked by uid 500); 15 Jan 2008 08:38:19 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 74906 invoked by uid 500); 15 Jan 2008 08:38:18 -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 74895 invoked by uid 99); 15 Jan 2008 08:38:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 00:38:18 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.114.87.131] (HELO smtpmail.praxell.com) (192.114.87.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 08:37:51 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Set dynamic parameters as jmeter variables X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 15 Jan 2008 10:38:39 +0200 Message-ID: <45B7271392D7634ABA08F4429B57F1B19372C6@praxexil2> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Set dynamic parameters as jmeter variables Thread-Index: AchW5rAxRGSEgAyUQSaUYcM4/tAwpQAaGVWQ References: <45B7271392D7634ABA08F4429B57F1B1937278@praxexil2> <25aac9fc0801141149r330e0787qf3010d30c3f32e3e@mail.gmail.com> From: "Ori Marco" To: "JMeter Users List" X-Virus-Checked: Checked by ClamAV on apache.org The problem is that the list is dynamic concerning size - e.g 10-30 parameters And parameter names (parameters names aren't expected) -=20 e.g. could be user-abc store-123 or card-456 pin-987 Can this be done? (saving parameters names with values straight from DB) It seems that this variables should be saved to map and put into vars: ${__BeanShell(vars.putAll(dbVariables))} Can this be done? Thanks Ori Marko=20 Quality Assurance Engineer=20 Praxell Inc. http://www.praxell.com -----Original Message----- From: sebb [mailto:sebbaz@gmail.com]=20 Sent: Monday, January 14, 2008 9:49 PM To: JMeter Users List Subject: Re: Set dynamic parameters as jmeter variables Use Regular Expression Extractor http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Reg ular_Expression_Extractor On 14/01/2008, Ori Marco wrote: > Hi > > > > I need to upload parameters names and values from DB > > I.E. select will return records of param-name1 paramvalue1,..., > param-name10 paramvalue10 (e.g. url www.google.com port 4443 ....) > > and I need to save each parameter name as a JMETER variable with its > value > > What 's the best way of doing it? > > > > Thanks > > > > Ori Marko > Quality Assurance Engineer > Praxell Inc. > Mobile: 0524-455-177 > Office:03-6126060 Ext 612 > Fax: 03-6126066 > http://www.praxell.com > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org