jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Embedded functions within a URL are rejected as an invalid URI
Date Tue, 22 Apr 2014 18:01:31 GMT
browsers escape the characters automatically (if you observe using a
browser sniffer youll see that)- you need to that (%code) - if you had
specified these as parameters then JMeter could do it for you - if you are
giving it as a URL directly then you need to use a function (beanshell or
equivalent)


On Tue, Apr 22, 2014 at 10:44 AM, <loadtest@fastmail.fm> wrote:

> Hi,
>
> I have embedded functions within a URL that JMeter is throwing up as an
> invalid URI, though it is accepted in the browser.
>
> What is the best way to make the below URL valid?
>
> solr/search/locator/?pt=55.8698,-4.2601&sfield=location&rows=1&q={!func
> cache=false}geodist()&fq=placetype: airport OR placetype:settlement OR
> placetype:country&sort=score asc&fl=*,score&wt=
>
> Thanks
>
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message