Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 77646 invoked from network); 3 Mar 2010 11:44:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 11:44:14 -0000 Received: (qmail 66496 invoked by uid 500); 3 Mar 2010 11:44:07 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 66432 invoked by uid 500); 3 Mar 2010 11:44:07 -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 66424 invoked by uid 99); 3 Mar 2010 11:44:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 11:44:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.226 as permitted sender) Received: from [209.85.220.226] (HELO mail-fx0-f226.google.com) (209.85.220.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 11:43:57 +0000 Received: by fxm26 with SMTP id 26so1608622fxm.13 for ; Wed, 03 Mar 2010 03:43:37 -0800 (PST) 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:message-id:subject:from:to:content-type; bh=yUJorL0TznQ9eKbGnL1Hfz2A67I3Nm/Y2BxiHitSeTQ=; b=BPBaSQiZrI0arU3BQoovWcNITXrJJ5g3taskZInqNxLw/Y5Ipq8gi5dxqBdg332cCr XwAM9hBPvvgArBXg9ZtHsZr2RfsUXly+6ypXClE6cFgOKZ8azbVOI7EAYHrOxVjY9cX+ qs4lYPByTnUD7k0LnnroLAtPRtkIRxy7axBf8= 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=BwtQFzi3GYLtDpmHUZ5KpAGQhnkY6zoPaRldK4APcrN9LkagLg92G2K8I026OClKdK ldFYBi0x9VYFdZDVxL09EeOcNEuP4umHaIi7bDc7++27HRYXFg8lmmN6rZ2MF6PmotIG /wfSHWNhqVroeDBe1Cr3ix85JQYahl3LM2KVo= MIME-Version: 1.0 Received: by 10.239.169.9 with SMTP id m9mr745652hbe.37.1267616617504; Wed, 03 Mar 2010 03:43:37 -0800 (PST) In-Reply-To: <27767111.post@talk.nabble.com> References: <27716620.post@talk.nabble.com> <25aac9fc1002260341o680d1c68ha01022cf653d0b5d@mail.gmail.com> <27717550.post@talk.nabble.com> <25aac9fc1002260819u51a2084j12b441e663e58275@mail.gmail.com> <27767015.post@talk.nabble.com> <25aac9fc1003030336i18881143pfa8b0b382e3bfce3@mail.gmail.com> <27767111.post@talk.nabble.com> Date: Wed, 3 Mar 2010 11:43:36 +0000 Message-ID: <25aac9fc1003030343w2bdc6b68q8a8309b3f1325a92@mail.gmail.com> Subject: Re: Not Able to get the value from txt file using CSVDataset in jmeter. From: sebb To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org If the element is disabled, it will be shown in grey. To change the setting, select the element and use right-click. On 03/03/2010, ragu5050 wrote: > > pl tell me Where i have to check wether the csvdataset is enabled or not. > > > > sebb-2-2 wrote: > > > > On 03/03/2010, ragu5050 wrote: > >> > >> Hi, > >> > >> I have tried with following tree structure what u have send in mail > >> thread > >> TestPlan > >> - Threadgroup > >> - userparameter > >> - mycounter > >> > >> - HTTP header Manger > >> - CSV Data Set Config > >> - SOAP/XML RPC Request > >> > >> > >> Still value from the text file not flowing dynamically to the soap > >> request. > >> and also i have tried by puttting full path name of text file in csvdata > >> set > >> Config. But no luck. > >> > >> If i give wrong file name in CSVDataset Config, i am not seeing any > >> error in > >> jmeter log file. > > > > Are you sure? > > > > If so, then check that CSV Dataset element is enabled. > > > >> CSV DataSet Config: > >> ================ > >> > >> filename : full path of file > >> variable name : abc > >> allow quoted data : false > >> recycle on EOF : false > >> Stop thead on EOF: false > >> Sharing mode :All threads. > >> > >> So please guide me on how to run this testplan. > >> > >> > >> > >> > >> sebb-2-2 wrote: > >> > > >> > On 26/02/2010, ragu5050 wrote: > >> >> > >> >> Thanks for ur reply. > >> >> > >> >> I didnt see any errors in jmeter.log file. > >> >> > >> >> when i changed to unknown file name in csvdataset , still the script > >> >> runs > >> >> but not loading the value dynamically in soap request and also not > >> >> throwing > >> >> error. > >> >> > >> >> I have made my config in jmeter as follows > >> >> > >> >> TestPlan > >> >> - Threadgroup > >> >> - userparameter > >> >> - SOAP/XML RPC Request > >> >> - HTTP header Manger > >> >> - CSV Data Set Config > >> >> > >> >> It would be great if u give any pointers.. > >> >> > >> > > >> > Try the following layout: > >> > > >> > TestPlan > >> > - Threadgroup > >> > - userparameter > >> > - HTTP header Manger > >> > - CSV Data Set Config > >> > - SOAP/XML RPC Request > >> > > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> sebb-2-2 wrote: > >> >> > > >> >> > On 26/02/2010, ragu5050 wrote: > >> >> >> > >> >> >> Hi, > >> >> >> > >> >> >> > >> >> >> I have one txt file where list of values are present. > >> >> >> > >> >> >> i m using the following line of tag in JMX file get the value > >> from > >> >> txt > >> >> >> file > >> >> >> and set it in variable name. > >> >> >> >> >> testname="CSV > >> >> >> Data Set Config" enabled="true"> > >> >> >> >> name="filename">SampleGuidFile.txt > >> >> >> > >> >> >> guid > >> >> >> > >> >> >> false > >> >> >> false > >> >> >> false > >> >> >> All threads > >> >> >> > >> >> >> > >> >> >> while executing the script. the value from a text file is not > >> set in > >> >> >> variable . i have configured 4 threads. > >> >> >> It would be great if any one helps. > >> >> > > >> >> > Are there any errors in the jmeter.log file? > >> >> > > >> >> > What happens if you change the filename to something that does not > >> >> exist? > >> >> > Does this cause an error, i.e. was the CSV Dataset element being > >> >> invoked? > >> >> > > >> >> > How do you know that the variable is not being set? > >> >> > Have you used the Debug Sampler to show variables? > >> >> > > >> >> >> Thanks > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27716620.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 > >> >> >> > >> >> >> > >> >> > > >> >> > > >> --------------------------------------------------------------------- > >> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> >> > For additional commands, e-mail: > >> jmeter-user-help@jakarta.apache.org > >> >> > > >> >> > > >> >> > > >> >> > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27717550.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 > >> >> > >> >> > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > >> > > >> > > >> > > >> > >> -- > >> > >> View this message in context: > >> http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767015.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 > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > -- > > View this message in context: http://old.nabble.com/Not-Able-to-get-the-value-from-txt-file-using-CSVDataset-in-jmeter.-tp27716620p27767111.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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org