Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

...

As of JMeter 2.3.1 there is no automatic way of handling this, however there are some work-rounds. Assume that the URL is stored in the variable ESCAPED_URL.

Wiki MarkupUsing \[http://jakarta.apache.org/jmeter/usermanual/functions.html#__jexl Jexl\]:

No Format
${__jexl(vars.get("ESCAPED_URL").replace("&"\,"&"))}

...

Using \[http://jakarta.apache.org/jmeter/usermanual/functions.html#__BeanShell BeanShell\]:

Set the JMeter property beanshell.function.init to point to a file; add the following definition to the file:

...