Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 55870 invoked from network); 9 Aug 2007 10:15:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Aug 2007 10:15:02 -0000 Received: (qmail 15341 invoked by uid 500); 9 Aug 2007 10:14:59 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 15312 invoked by uid 500); 9 Aug 2007 10:14:59 -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 15300 invoked by uid 99); 9 Aug 2007 10:14:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 03:14:59 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.146.182 as permitted sender) Received: from [209.85.146.182] (HELO wa-out-1112.google.com) (209.85.146.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 10:14:51 +0000 Received: by wa-out-1112.google.com with SMTP id k40so564542wah for ; Thu, 09 Aug 2007 03:14:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; 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:content-transfer-encoding:content-disposition:references; b=DuswTMJ0GG8W6ius6v8N2EgiZWsFOb4dqBoBsyLkehTKYtBqLWbkQ96NDCRrJpU3k7dawV27cGc1tKYlTfDVBPeZLy+KOqcT45JSXJKpB/GNn3wss5qTRwG/ExqUXKsRaRM7fJ25Hm3wt7Vvpmw6sIkk/pnGMx0hPTMq0t5m5sU= 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:content-transfer-encoding:content-disposition:references; b=SiPrLMUo4r5B3BKzqe6DSkcWbZYZlEgvnt0l+JZttS/0AjbcXZPUEKPRhSjJKzlfjRUt2LwkYBxrLkOdNenhVi0mLwovy3QDovy804b8LzEZvzwLHOsjyDGq4w6Wf2jXLb5XvKRGtOPxlH21ocZl7wr5foa3KhV0OWXUH4XD5k4= Received: by 10.114.76.1 with SMTP id y1mr2174240waa.1186654470180; Thu, 09 Aug 2007 03:14:30 -0700 (PDT) Received: by 10.114.168.12 with HTTP; Thu, 9 Aug 2007 03:14:30 -0700 (PDT) Message-ID: <25aac9fc0708090314r62e8aaddna1fbe7448300b67c@mail.gmail.com> Date: Thu, 9 Aug 2007 11:14:30 +0100 From: sebb To: "JMeter Users List" Subject: Re: CVS Dataset Config Usage? In-Reply-To: <25aac9fc0708090240t7803d157lfa99f31ecd15750d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <223843950707200244x65ff9dbfvb83bc6f359be3082@mail.gmail.com> <11921316.post@talk.nabble.com> <25aac9fc0708090240t7803d157lfa99f31ecd15750d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I forgot to say that the file is currently shared between thread groups as well. If you want the file to be used independently in different thread groups, a work-round is to use a copy of the file, or use a different name for the same file, e.g. data.csv ./data.csv On 09/08/07, sebb wrote: > That's not true - the file is shared between threads. > > When a thread needs data from the file, it will get the next entry in > the file, on a first come first served basis. > > > > On 31/07/07, Avishek Daga wrote: > > > > Each thread has its own copy of the csv file and iterates through the file > > from the start > > > > > > > > Knut Borchart wrote: > > > > > > Hi, > > > > > > i am experimenting with the csv dataset config but it seems like i do > > > not quite understand its inner workings. What i am trying to achieve > > > is the following: > > > > > > - keep a file of usernames, passwords and other config for users > > > around which is always 100 lines long. > > > - for testing a new jmeter script i would like use different settings > > > for threads and repeat (eg. 2 threads, 10 repeats) > > > > > > I thought that jmeter reads the cvs file at the beginning of the > > > testcase, assigns values to the different threads (=users) and thats > > > it. But that does not work. With 1 thread and 10 repeats the second > > > repeat of the test gets the config for user 2 (=line 2 of csv file). > > > So it seems like the file is read in every iteration. > > > > > > How is the csv config thought to be used? Do i have to exactly match > > > the lines in the file to the number of threads i want to use? What if > > > one of the threads gets an error and is stopped? Will not the > > > correlation between thread <> csv config will be mixed up? > > > > > > Kind regards, peter > > > > > > --------------------------------------------------------------------- > > > 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://www.nabble.com/CVS-Dataset-Config-Usage--tf4116129.html#a11921316 > > 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