title: Jmeter - How Can I Replace a string and resend it?
body: <p>I'm trying to create a script that will take a URL out of a response and send it out again.
  Using the regular expression extractor I've succeeded  in taking the wanted URL, but it holds "&amp;" so naturally when sending it out the request fails.
  Example:
  GET http://[ia-test01.inner-active.mobi:8080/simpleM2M/ClientUpdateStatus?cn=WS2006&amp;v=2_1_0-iOS-2_0_3_7&amp;ci=99999&amp;s=3852719769860497476&amp;cip=113-170-93-111&amp;po=642&amp;re=1&amp;lt=0&amp;cc=VN&amp;acp=&amp;pcp=]/</p>
  
  <p>I'm trying to replace the "&amp;" with a "&amp;".
  I've tried: ${__javaScript(${url}.replace("&amp;","&amp;"))}
  But it did not work. I've tried the regex function as well- the same.
  I'm not sure the IP field in the request supports the us e of functions.</p>
  
  <p>I'm currently trying to use the beanshell post-processor. But I'm pretty sure there is a simpler solution I'm missing.</p>