Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 53235 invoked from network); 20 Jun 2007 22:24:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 22:24:42 -0000 Received: (qmail 77431 invoked by uid 500); 20 Jun 2007 22:24:43 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 77414 invoked by uid 500); 20 Jun 2007 22:24:43 -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 77403 invoked by uid 99); 20 Jun 2007 22:24:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 15:24:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sebbaz@gmail.com designates 209.85.146.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 15:24:39 -0700 Received: by wa-out-1112.google.com with SMTP id k40so92483wah for ; Wed, 20 Jun 2007 15:24:18 -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=N/gYcWeC7/q8GZvvE07WImZ3N370FFluOCtHBKqhz0O2PgohBx/Gnw2oL8deojBPekmR7R9ATHtv9aKsyCPrNUyz0L7AFWARQBMd84ZWuL/pOeMSHadcN5caq+siASYi6fmPw3VKufTt7DPRFJOD81K8rmCF/aqfnMQp+o4deKQ= 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=IuzibpD+tE+OJRFA75XrdsyrCx5a6gYDhXhDXwtgaeUqfkCLqWE8OWvsAbnjFKDj+Je7JEHdgXWEn7WRjAO83I2m+i814DfpRN45HpI4Mc2O8iCqdwarFlbVGXcxmV8O8vg76IXaaG4yndBP7VmgfLBQ1q0Bbm5VpQpTjCa04KY= Received: by 10.114.61.1 with SMTP id j1mr801045waa.1182378258822; Wed, 20 Jun 2007 15:24:18 -0700 (PDT) Received: by 10.114.168.12 with HTTP; Wed, 20 Jun 2007 15:24:18 -0700 (PDT) Message-ID: <25aac9fc0706201524x5610b4fhad0c9f436ba9e40f@mail.gmail.com> Date: Wed, 20 Jun 2007 23:24:18 +0100 From: sebb To: "JMeter Users List" Subject: Re: Spidering a site, well testing In-Reply-To: <31d110d20706201437h45746ec7radb0343da51ea9c0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31d110d20706201437h45746ec7radb0343da51ea9c0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thread Group + Http Request containing links + Http Request - host=.*, path=.* + + Link Parser The Link Parser needs to match the wild-card URL in the second request against the links in the first request. On 20/06/07, Richard Martin wrote: > Hello, > > I'm trying to use Jmeter to stress test a intermediary proxy to a site, > actually it will be used for many sites. To test it I need to move around > the site and I was hoping to use the HTML Link Parser to spider the site and > leave the clients/threads to work there way around. This allows me to easily > plug in other sites to test. > > In searching I found a guide to doing this in the old version of Jmeter on > the old user guide. There is also a section about spidering under the help > documentation. It suggest putting in .* for path and domain. I tried this > with a Default HTTP containing the domain/host. An HTTP Request with .* and > a Link Parser but from my log it is just trying to request the page > "host/.*" which doesn't work. There was only so many ways I could arrange > these 3 things and now I'm out of ideas. > > Am I missing something on this setup? > > From the help > > "Spidering Example > > Consider a simple example: let's say you wanted JMeter to "spider" through > your site, hitting link after link parsed from the HTML returned from your > server (this is not actually the most useful thing to do, but it serves as a > good example). You would create a Simple Controller , and add the "HTML Link > Parser" to it. Then, create an HTTP Request, and set the domain to ".*", and > the path likewise. This will cause your test sample to match with any link > found on the returned pages. If you wanted to restrict the spidering to a > particular domain, then change the domain value to the one you want. Then, > only links to that domain will be followed." > > Thanks for any help > > cheers > Bob > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org