Hi!

I am trying to get Jmeter to do the following:

1. Enter frontpage (ok)
2. do a search (ok)
3. Collect a spesific url (which can be expressed with a regexp for
                           example)
4. Follow the url collected in 3
5. Do something like 3 again (just another regexp)
6. Get last page

I would think this has been done a thousand times before, but since I am
starting to get a slight headache trying to find the simple way, I decided
to mail the list.

I've solved the problem by brute force by parsing an apache-logfile and
generated suitable xml-files (this done in perl). I've used files with all
together 1500 http-samplers ordered 3 and 3 in a simple controller inside
a random controller. It works, but it is deadly slow (which I fully
understand, since it has to cope with that many samplers). The reason why
I need to vary the url so much is to avoid hitting the DB-cache all the
time.

So. I've tried several ways of simplifying the problem (the brute force
solution came as a work-around to not getting the simpler ways to work). 

I've tried to do a search with a HTML link parser, but I can't seem to be
able to replace the PATH, only values/argument to the path (the path
varies). How can I tell it to use a result as an url? If I try to put a
__regexpfuncion in the pathfield, it doesn't seem to work. Should it?
I've managed to grab the url I am interested in (I've put it in as an
argument to debug), so it is almost there..

As a medium-brute-force solution I tried to make a user parameter list
which contained the urls. For example a variable called url, which I later
referenced as ${url} in the PATH-field. It seems this one only gets
evaluated at the start of a session. How can I force a reevaluation? I've
used a counter to generate ${url1} ${url2} and so on, but I am also having
problem getting it to evaluate it after the counter has been
evaluated. Any ideas?

I think I like JMeter, and have been looking a little at working with the
result and making permanent graphes (not only in the gui) to use in
automated documents etc. JMeter seems to have a very good featurelist, but
there is something with the variables I can't seem to get right.

Hope somebody sees what I am not understanding correctly, or have a
solution for something like my problem, so I can work out from that. 

Sincerely
-- 
Thorkild Stray, Linpro AS                              <[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@;jakarta.apache.org>

Reply via email to