You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by venkatakurathi <ve...@hotmail.com> on 2012/04/10 10:36:11 UTC
how to work with url encoded strings?
hi all,
i am a new bee to jmeter.in my application there is value for from a
response which i captured using regular expressions.its working find.but in
one of the samplers its been passed with url conversion in the string..
can some one help me how to handle this situation...
value that i have captured : ab457-ghk346-fcf-jye-hgh54
value that i need to send : ab457%2eghk346%2efcf%2ejye%2ehgh54
please let me know the solution in detail..
Thanks in anticipation....
--
View this message in context: http://jmeter.512774.n5.nabble.com/how-to-work-with-url-encoded-strings-tp5629335p5629335.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: how to work with url encoded strings?
Posted by ZK <st...@gmail.com>.
Hi,
then you can achieve this using a 'BeanShell PreProcessor'
Just do a replace on your extracted string (replace '-' with '%2D')
ZK
--
View this message in context: http://jmeter.512774.n5.nabble.com/how-to-work-with-url-encoded-strings-tp5629335p5629635.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: how to work with url encoded strings?
Posted by venkatakurathi <ve...@hotmail.com>.
Thanks for your qucik reply.
but it is not working.i captured the value and stored it in {UID}.even if i
checked the encode,it is sending the value as i captured previously.
${UID} : ab457-ghk346-fcf-jye-hgh54
SEND PARAMETERS WITH REQUEST
userInfoId ${UID} true true
but no luck....still sending value------- ab457-ghk346-fcf-jye-hgh54 ,but i
need to send
ab457%2Dghk346%2Dfcf%2Djye%2Dhgh54
plaese let me know how to work in other ways to resolve.....:(
--
View this message in context: http://jmeter.512774.n5.nabble.com/how-to-work-with-url-encoded-strings-tp5629335p5629428.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: how to work with url encoded strings?
Posted by ZK <st...@gmail.com>.
Hi,
if you are sending that value in a HTTP request
Ensure 'Encode?' is ticked
ZK
--
View this message in context: http://jmeter.512774.n5.nabble.com/how-to-work-with-url-encoded-strings-tp5629335p5629380.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org