I have tried reading the docs on HTML link parser and as far as I understand
it, this piece needs to be extended to support matching URLs on their *name*
as opposed to their *link*. There was a post a few days ago which mentioned
the need to do exactly the same. Here is the relevant snippet from his
posting -

============= snippet =====================
Another problem is that when URL are dynamic, I would like to match the name
of the link, not the url. Example: <a href="toto/titi?var=57457">Here are my
examples</a>. I want to put in the path: "Here are my examples" and not
"toto/titi?var=57457" which can change between 2 sessions.
========== end snippet ====================

Can somebody give me suggestions on how I would go about making these
changes to JMeter?

Thanks n' regards-Vivek.

-----Original Message-----
From: Mike Stover [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 4:58 PM
To: JMeter Users List; [EMAIL PROTECTED]
Subject: Re: Testing sites with with *ever-changing* urls


You can generate dynamic test samples with JMeter
based on the response from a previous page.

To do so, you will need to use the Modification
Manager along with the HTML Link Parser.  Check the
docs on it and try it.  Then come back when you have
questions :-)

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Modific
ation_Manager

Also, the instructions on how to do URL re-writing
might be useful to you:

http://jakarta.apache.org/jmeter/usermanual/build-adv-web-test-plan.html#ses
sion_url_rewriting

-Mike

--- Vivek Agarwal <[EMAIL PROTECTED]>
wrote:
> I need to load-test a portal application that is
> built on top of WebSphere
> Portal Server. In this application we have a
> significant number of URLs that
> include unique action ids as part of the URL; these
> action ids are
> regenerated everytime you go to any page in this
> application and I haven't
> been able to detect a pattern to these action ids.
> Given this, is it even
> possible to create a test plan in JMeter that can
> accomodate dynamic URLs?
> If it is possible, how do I do it (I can't tell from
> my limited perusal of
> the docs).
>
> If it is not possible, I am thinking that for load
> test purposes, I will end
> up wrapping all the key links in the site inside
> javascript functions such
> that the javascript function names remain constant
> and I ought to be able to
> build a test plan using those js functions.
>
> I would imagine that I am not the only one with this
> problem; so I sure
> would appreciate suggestions/comments from this
> audience on what they have
> done in similar circumstances.
>
> To the JMeter dev team: Thanks for a great tool ...
>
> Regards-Vivek.
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


=====
Mike Stover
Apache JMeter developer

Contact Info:
Email: [EMAIL PROTECTED]
Yahoo Instant Messenger: mstover_ya
ICQ: 152975688

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to