Hi folks,

I am using Jmeter ver 2.3.4

I had been trying to get the Jmeter spidering working, the recipe in
the docs I found just did not work. I was finding that the documented
example

1. did not loop
2. would go back to th etop level http://www.mysite.org/.* and die
without re-spidering.

Here is my working testplan:

Thread Group [action to be taken after a sampler error = continue]
- HTTP Request [server name or IP = www.mysite.org]
- While Controller [Condition = LAST] You must type LAST
- - HTTP Request [server name www.mysite.org ; Path .*]
- - Link Parser

and that's it. The crucial things here were
.: the While Controller with the LAST option for the Condition
.: Also the documentation tells you to put server = .* in the first
HTTP Request : do that and you will spider the whole web!
.: setting action = continue in the Thread Group

Once all this was in place I found I could randomly trawl my clients
site with about 60,000 pages. I could ramp up the number of users to
simulate a load of people randomly hitting the site. Insertion of a
Timer Controller with a Gaussian distribution helps make it a bit more
random.

Happy spidering.

Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to