Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 20058 invoked from network); 18 Oct 2007 05:14:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 05:14:16 -0000 Received: (qmail 31266 invoked by uid 500); 18 Oct 2007 05:13:58 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 31254 invoked by uid 500); 18 Oct 2007 05:13:58 -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 31243 invoked by uid 99); 18 Oct 2007 05:13:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 22:13:57 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of navneekul@gmail.com designates 64.233.184.237 as permitted sender) Received: from [64.233.184.237] (HELO wr-out-0506.google.com) (64.233.184.237) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 05:14:01 +0000 Received: by wr-out-0506.google.com with SMTP id 70so51340wra for ; Wed, 17 Oct 2007 22:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Ti9FKHbZl0oodHatAjiDZtGfntrFHlC5oVUUkZSK4aE=; b=ugjEsK+putU/3ByQ2y56HRnlxBwFoym+EkcQYopov7IPdhdAF3SpljZ20PL4qF6suZan3r3WaG0phrtJc5GRqw/pBUV4fF27lvhs9HCzM89oBdu5Ylk0Fspioe3sxqT5fwOUlnxFJmawAvYtzAFT9PimQhe7BBSREv3t7yDKCFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=f1E9GdFggaaDGfnIBA3pReOj5qNhhnaP5iNuJmRxdZ/rEiASUs93B2A2ZZbURtY29Sr9avnpvfnGpyHjYU64jGw9uxaXMTSp3riQ7qMKrz5HWa9YLOYNvnMwL2ErHaDBqXOQadVl9nYhEwakVPjzWNfLHrnsvvI7ZCiA7wIxPhg= Received: by 10.142.132.2 with SMTP id f2mr11922wfd.1192684413831; Wed, 17 Oct 2007 22:13:33 -0700 (PDT) Received: by 10.143.43.17 with HTTP; Wed, 17 Oct 2007 22:13:33 -0700 (PDT) Message-ID: <442e34080710172213u3e83d355v2407701e62ee1afc@mail.gmail.com> Date: Wed, 17 Oct 2007 22:13:33 -0700 From: "neetu kulshrestha" To: "JMeter Users List" Subject: Re: JAVA REQUEST - ${__CSVRead and NEXT VALUE In-Reply-To: <948065.73460.qm@web27605.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_114_20866940.1192684413814" References: <25aac9fc0710040214m73d6fe43vb4ddcdba25d6e2e0@mail.gmail.com> <948065.73460.qm@web27605.mail.ukl.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_114_20866940.1192684413814 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline as per my experience with jmeter. if I use loop then it always takes first row but if I use threads then it takes the next value. Don't know if its by design or a bug On 10/4/07, Fulvio Guglielmelli wrote: > > Hi, > i have a JAVA REQUEST class with parameter > a | ${__CSVRead(try.csv,0)} > whei i run the test, into the java class it always read the first ROW of > try.csv file. > > Into the log i saw jmeter read the next value i don't know how take it to > be use. > I tried to use > a | ${__CSVRead(try.csv,next)} > a | ${__CSVRead(try.csv,next())} > or into the java class class > params.addArgument("a", "${__CSVRead(try.csv.csv,next())}"); > > but Jmeter return null value > I can make in way > 1) Using a loop Controller > 2) Using a ${__counter(,)} > My problem is: HOW CAN I PASS THE counter VALUE TO THE JAVA CLASS and > use it in CSVRead? > > Could you help me? > FULVIO > > > > --------------------------------- > > --------------------------------- > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail ------=_Part_114_20866940.1192684413814--