Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 47632 invoked from network); 9 Apr 2010 19:04:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 19:04:21 -0000 Received: (qmail 73390 invoked by uid 500); 9 Apr 2010 19:04:20 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 73369 invoked by uid 500); 9 Apr 2010 19:04:20 -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 73361 invoked by uid 99); 9 Apr 2010 19:04:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 19:04:20 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prasannabhat38@gmail.com designates 74.125.92.24 as permitted sender) Received: from [74.125.92.24] (HELO qw-out-2122.google.com) (74.125.92.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 19:04:13 +0000 Received: by qw-out-2122.google.com with SMTP id 9so1229532qwb.31 for ; Fri, 09 Apr 2010 12:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=R1F7XkEmBOEZySDdgdpvIRKj066ZLQe9ErA1q+BLe4I=; b=WJVtp0LkN+7ezCp7E+NxPagwVD7u1xrIYsGf8HhQcs9A50iCUoi0bcTHKF7g6NIXV9 wXose28e2X0gxDVBE38LRUUhq2TbCDTfK8rtqG+b2jeR2ZR8Km3V5Be4Wi9SAZoZPPB4 WwoUZJLDQ0OyPd/idYOZ7cAkKil/aW8pW+vIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=H/OUYF91Kn+cUYWZlj7t8qLXBxPFVPr0Odt1QLZba3PpTaLZZYOFmxURi7MrWoLoZl zgzmEJwyPvDwpOJH3iypgfSxqw3sxr87nrtrGJAO4MC/aFMQ+EHwXSEW0VBCH4HG2Jzr lMBLI+pMNHDVkeBOqZSD7sHaiQv+veg1xVyO4= MIME-Version: 1.0 Received: by 10.229.221.75 with HTTP; Fri, 9 Apr 2010 12:03:52 -0700 (PDT) In-Reply-To: References: Date: Sat, 10 Apr 2010 00:33:52 +0530 Received: by 10.229.239.148 with SMTP id kw20mr611245qcb.10.1270839832344; Fri, 09 Apr 2010 12:03:52 -0700 (PDT) Message-ID: Subject: Re: passing variables between 2 samplers From: prasanna bhat To: JMeter Users List Content-Type: multipart/alternative; boundary=0016e64cba26c60baa0483d274b1 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64cba26c60baa0483d274b1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Toufik, You can use a BSF Post processor and store the value into vars arraylist an= d then access it in other samplers. E.g: Sampler1 BSF: vars.put("UUID", value); Sampler2 BSF Pre/Post processor var value=3Dvars.get("UUID"); //or you can directly access the variable using ${UUID}; Let me know if this doesn't help you. Thanks, Prasanna 2010/4/9 Toufik-externe HAMDANI > > Hello, > I have a JavaSampler test that generates a random UUID and i wanted to pa= ss > this UUID into another sampler. I tried to read the documentation, but > didn't find anything that fits to my case. > > thank you for your help. > > Toufik HAMDANI > > > > Ce message et toutes les pi=E8ces jointes (ci-apr=E8s le 'Message') sont > =E9tablis =E0 l'intention exclusive des destinataires et les informations= qui y > figurent sont strictement confidentielles. Toute utilisation de ce Messag= e > non conforme =E0 sa destination, toute diffusion ou toute publication tot= ale > ou partielle, est interdite sauf autorisation expresse. > > Si vous n'=EAtes pas le destinataire de ce Message, il vous est interdit = de > le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou > partie. Si vous avez re=E7u ce Message par erreur, merci de le supprimer = de > votre syst=E8me, ainsi que toutes ses copies, et de n'en garder aucune tr= ace > sur quelque support que ce soit. Nous vous remercions =E9galement d'en av= ertir > imm=E9diatement l'exp=E9diteur par retour du message. > > Il est impossible de garantir que les communications par messagerie > =E9lectronique arrivent en temps utile, sont s=E9curis=E9es ou d=E9nu=E9e= s de toute > erreur ou virus. > ____________________________________________________ > > This message and any attachments (the 'Message') are intended solely for > the addressees. The information contained in this Message is confidential= . > Any use of information contained in this Message not in accord with its > purpose, any dissemination or disclosure, either whole or partial, is > prohibited except formal approval. > > If you are not the addressee, you may not copy, forward, disclose or use > any part of it. If you have received this message in error, please delete= it > and all copies from your system and notify the sender immediately by retu= rn > message. > > E-mail communication cannot be guaranteed to be timely secure, error or > virus-free. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > --0016e64cba26c60baa0483d274b1--