Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-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 7CDF710112 for ; Mon, 1 Jul 2013 07:42:50 +0000 (UTC) Received: (qmail 86897 invoked by uid 500); 1 Jul 2013 07:42:49 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 86854 invoked by uid 500); 1 Jul 2013 07:42:48 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 86839 invoked by uid 99); 1 Jul 2013 07:42:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 07:42:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ankush.upadhyay@gmail.com designates 209.85.219.47 as permitted sender) Received: from [209.85.219.47] (HELO mail-oa0-f47.google.com) (209.85.219.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 07:42:40 +0000 Received: by mail-oa0-f47.google.com with SMTP id m1so4535058oag.34 for ; Mon, 01 Jul 2013 00:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jr7SxJVbiHlAMMAX/+mnSWkbLhf9zt5c2Z4ZJezd5dI=; b=LmVtYJt24PUysAgMcTfzqYVua0M7aQmsYI6cpwAo1ezif+F5+3fN/+M01yw/fjc0EO o49LqJPolkmo1WeKPxXf0PH/NsCHarBTdw1M5P8XwY7q0zSV1Vfu3ceCeWA070F20gLF qK8tZbXBHOrnOjbnIL+KxpSoO6a4kGQV1D8VNloUC6BjyuXZQnXUwGjy6+38+U0dz7uZ 9FD3uZqK9DlEFv+4xZKJifo0R9+Pmf8qSl/bJQvPCjsRzyGhwdWgQ1NNrbpSwMQ/xmR+ Tnimts9arXmBJb4Kx2SZSjK0pInqKbeBsZOaalpm/rXgmVmxC8lthw1jGIwVfUnnbwXf +ZBQ== MIME-Version: 1.0 X-Received: by 10.182.246.198 with SMTP id xy6mr10486831obc.1.1372664539674; Mon, 01 Jul 2013 00:42:19 -0700 (PDT) Received: by 10.60.84.73 with HTTP; Mon, 1 Jul 2013 00:42:19 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Jul 2013 13:12:19 +0530 Message-ID: Subject: Re: Read CSV parameter in control loop instead of threadGroup From: ankush upadhyay To: JMeter Users List Content-Type: multipart/alternative; boundary=001a11c1bc0448801004e06e5e98 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1bc0448801004e06e5e98 Content-Type: text/plain; charset=ISO-8859-1 After adding User parameter inside while loop for reading csv, its working fine for me. On Sat, Jun 29, 2013 at 8:35 PM, Deepak Shetty wrote: > then likely you havent configured your CSV data set correctly - did you > check jmeter.log? (Also Im assuming you used the correct syntax .. > ${__javaScript("${itemId}"!="")} - as well as itemId is case sensitive > , it must be defined the same way in the csv data set config > > > > On Sat, Jun 29, 2013 at 7:51 AM, ankush upadhyay > wrote: > > > Yes I have moved it to under while controller > > Also adding condition: ${itemId}" != "" > > > > > > On Sat, Jun 29, 2013 at 8:02 PM, Deepak Shetty > wrote: > > > > > Hi > > > are you sure the CSV data set config is a child of the while > controller? > > > > > > regards > > > deepak > > > > > > > > > On Sat, Jun 29, 2013 at 7:28 AM, ankush upadhyay > > > wrote: > > > > > > > Thanks for the quick reply Deepak, > > > > > > > > I used the while controller but unfortunately it is still read first > > > value > > > > for each time, means not iterate with other values. > > > > > > > > > > > > On Sat, Jun 29, 2013 at 6:08 PM, Deepak Shetty > > > wrote: > > > > > > > > > WhileController ("${someVariableFromCSV}" != "") > > > > > +HTTP Sampler > > > > > ... > > > > > +CSV DataSetConfig (recycle on eof false) > > > > > > > > > > > > > > > > > > > > On Fri, Jun 28, 2013 at 11:14 PM, ankush upadhyay < > > > > > ankush.upadhyay@gmail.com > > > > > > wrote: > > > > > > > > > > > Hello all, > > > > > > > > > > > > I am newbie in Jmeter and creating new test case. The scenario is > > > > sending > > > > > > HTTP request for adding some items in cart. Here I want to > > > > > > read items from CSV so that user can easily change or modify > items > > > from > > > > > > file instead of from jmeter script. It is working in ThreadGroup > > > level > > > > > but > > > > > > not inside loop. > > > > > > -- > > > > > > ------ > > > > > > Regards > > > > > > @Ankush Upadhyay@ > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > ------ > > > > Regards > > > > @Ankush Upadhyay@ > > > > > > > > > > > > > > > -- > > ------ > > Regards > > @Ankush Upadhyay@ > > > -- ------ Regards @Ankush Upadhyay@ --001a11c1bc0448801004e06e5e98--