As I thought, the & appears in the HTML page source:

<a 
href="http://www.businesslink.gov.uk/bdotg/action/layer?r.s=tl&amp;topicId=1073861197";
title="Choose the right systems and suppliers"><abbr
title="Information Technology">IT</abbr> &amp; e-commerce</a>

However the link displays in the status bar (and link box when selected) as:

http://www.businesslink.gov.uk/bdotg/action/layer?r.s=tl&topicId=1073861197

Using the link:

http://www.businesslink.gov.uk/bdotg/action/layer?r.s=tl&amp;topicId=1073861197

does not work; it goes back to the home page.

Maybe there is a requirement for JMeter to provide some form of
built-in URL decoding - the difficulty is knowing when to apply it.
Not everything needs decoding...

S
On 16/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

The RE is layer\?r\.XX=(.+?)" where X is tl, l1, l2, l3

And HTTP Request has

/bdotg/action/layer?r.XX=${__BeanShell(fixAmps("${foreachVarXX}"))}

The website is http://www.businesslink.gov.uk

Martin West
01252 778772


-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 15, 2006 11:24 PM
To: JMeter Users List
Subject: Re: &amp; in dynamic links

To go back to the original problem - are you sure that the original
references use & and not &amp; ?

The Regex extractor definitely won't encode &, and I don't think the
sampler does either.

What does the Tree View Listener show for the result?

---------------------------------------------------------------------
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]

Reply via email to