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 6AA98173AB for ; Thu, 9 Oct 2014 16:40:07 +0000 (UTC) Received: (qmail 62007 invoked by uid 500); 9 Oct 2014 16:40:06 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 61970 invoked by uid 500); 9 Oct 2014 16:40:06 -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 61959 invoked by uid 99); 9 Oct 2014 16:40:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 16:40:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 209.85.212.181 as permitted sender) Received: from [209.85.212.181] (HELO mail-wi0-f181.google.com) (209.85.212.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 16:40:02 +0000 Received: by mail-wi0-f181.google.com with SMTP id hi2so2371443wib.8 for ; Thu, 09 Oct 2014 09:39:41 -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=A7cva+Z1Lh0eXPYVTs4Hf4guvyoBIDhcFfO6JiorGfk=; b=rvfUMr+J9hwf2TKV60NnfMCKvfhwC+14c9Lcmyg+lvw2oNfdt+XR67U3yMfj+L7w2i wAnneLZHgpgnQCJM/hVmplmpL8hypHY80Fcfo/e/mELIYK6yqkqNJ1SjGP2e7kEU4vzZ 68hVGbuDqlJyBH8dmhbwObkiHj7y/Ge9aHP1LNrBD31BKv7gEjdT0/P5Fl0Ttr4zNvl9 3qTrkh9Ejb8zLGgymbHQwA21C/d4LLe+oMhkL+hTir79xun/tCaoIMyKImmKUTIFLyAg I2X1HdT1KmUDrj1a6UdV/agpuVxszPbD9dfyrB1jhitH9u0PtMbAfFR8MSdZ7MI8MJME Wq4A== MIME-Version: 1.0 X-Received: by 10.194.220.7 with SMTP id ps7mr19724306wjc.28.1412872781115; Thu, 09 Oct 2014 09:39:41 -0700 (PDT) Received: by 10.194.162.231 with HTTP; Thu, 9 Oct 2014 09:39:41 -0700 (PDT) In-Reply-To: References: Date: Thu, 9 Oct 2014 17:39:41 +0100 Message-ID: Subject: Re: Problem when looping through multiple CSV lists of URLs From: sebb To: JMeter Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 9 October 2014 17:27, Mark Hanford wrote: > Wow - your first suggestion didn't even cross my mind and would solve the > immediate problem - the CSV even has that data in it already... > > For the second, I'm not entirely sure yet. I think what I'd actually like > to do is test those 1000 URLs randomly, not in the order they're in the > file, so the whole app is being hit all the time, multiple times. In which case why not randomise the file before starting the test? > I'll check the logs too. > > Thanks > Mark > > On 9 October 2014 17:23, Deepak Shetty wrote: > >> >but I want each "HTTP Request" to have it's own name to distinguish >> between them. >> Keep a single file - put the name as part of file (so name,url) and use >> ${name} in your HTTP request name >> >> >I've tried using a While Controller, which works for the first list, but >> it never runs any subsequent ones: >> Probably you need to see jmeter.log - probably you have an infinte loop - >> adding a debug sampler +view results tree helps to see what is happening. >> However this is probably not what you want to do right? Do you want all >> URLs of Data A to complete before you move onto Data B? >> >> regards >> deepak >> >> >> On Thu, Oct 9, 2014 at 8:10 AM, Mark Hanford >> wrote: >> >> > Hi, folks. I'm pretty new at JMeter, so apologies if this is either a >> daft >> > question, or I'm approaching the whole idea from the wrong angle. >> > >> > I have a list of about 1000 URLs in our product that I need to hit and >> > measure. They are from various areas of the product, so it doesn't make >> > sense to compare them all as a single set, so they have been split into >> 10 >> > files of ~100 URLs each. >> > >> > I would like (I think) a bunch of threads to start up, and hit all 1000 >> > pages, but I want each "HTTP Request" to have it's own name to >> distinguish >> > between them. >> > >> > I've tried using a While Controller, which works for the first list, but >> it >> > never runs any subsequent ones: >> > >> > Test Plan >> > Thread Group >> > While Controller >> > CSV Data Set Config - data-a.csv >> > HTTP Request - "Data A" >> > While Controller >> > CSV Data Set Config - data-b.csv >> > HTTP Request - "Data B" >> > >> > All the links in Data A are processed, and the results look good, but >> > nothing is ever run in Data B. >> > >> > Thanks, >> > >> > Mark >> > >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org