Thanks Dolf - I'll check it out - thanks a lot. With regards, Sonam Chauhan -- Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
> -----Original Message----- > From: Smits.Dolf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 17 February 2004 7:49 PM > To: 'JMeter Users List' > Subject: RE: JMeter for link checking? > > Hi Sonam, > > I did post a modification to the regextractor post-processec and a ForEach > controller. > They are commited to the CSV so if you build from there, you have both > elements. > > The modified extractor can extract all links from a page, the foreach > controller can walk through all extracted values and in this way call all > extracted links and check for existence. > > You might probably use several levels to check the complete website but > this > might be handy for your purpose. > > Success, > > Dolf Smits > > -----Original Message----- > From: Sonam Chauhan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 17, 2004 04:32 > To: 'JMeter Users List' > Subject: JMeter for link checking? > > > A colleague asked if there was a way to use JMeter for link checking a > website? > > I found an example in the user manual here that used the HTML link parser > to > post random values to a page: > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTM L_ > Li > nk_Parser > > I modified the example by setting the 'Path' in the second HTTP sampler to > '.*'. This makes it visits random links from the first page. > > The JMX looks like this: > ------------------------------ > Thread Group > |_ HTTP Sampler 1: Access HTML page with initial links > |_ HTTP Sampler 2: Link Request (Path = '.*') > |_ HTML Link Parser > ------------------------------ > > The problem is when the loop count is increased, this first sampler is > re-initialized in each loop - hence some links end up being visited > multiple > times, and some links are not visited at all. > > Is there a way to visit all links on a single page once? > > If not, can, say, a Java sampler access values from the link parser > pre-processor? > > With regards, > Sonam Chauhan > -- > Corporate Express Australia Ltd. > Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

