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, <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > >
