This is the easiest away

Also check if ${__javaScript(encodeURI('${VAR1}'))} works for you

Nermin

-----Original Message-----
From: Deepak Shetty [mailto:shet...@gmail.com] 
Sent: 27. septembar 2011 23:14
To: JMeter Users List
Subject: Re: Jmeter novice asking help to avoid error 501 during recording
using http proxy server

hi
if you had these as parameters (In send parameters with request) - and you
checked "encode" - that should work too.


regards
deepak

On Tue, Sep 27, 2011 at 12:59 PM, Nermin CALUK <ner...@atlantbh.com> wrote:

> Just to make sure we're on the same page, are you trying to convert a
> string to URL (escape) http://www.javascripter.net/faq/escape.htm
>
> If that is the case, you can probably do it with a pre-processor and then
> send a request that does not contain special characters in URL
>
> Nermin
>
> -----Original Message-----
> From: forfano [mailto:forf...@hotmail.com]
> Sent: 27. septembar 2011 22:05
> To: jmeter-user@jakarta.apache.org
> Subject: Jmeter novice asking help to avoid error 501 during recording
> using http proxy server
>
> Lads,
>
> I am wondering if someone could give me a practical help on how could I
> avoid the 501 error (Method not implemented) during the recording which I
> am
> doing using HTTP proxy server.
>
> I can explain the issue:
> During recording the browser submits the following :
> GET
>
>
http://ciweb10.homologacao.extranet.teste:8280/ciweb/buttons.do?buttons=VOL&;
buttons=ADL&buttons=LIM&buttons=AJU&titulo=Proponente/Arrendatário&trancode=
V034791002&subtitulo=855550009876-2
>
> This ends up with a sample failed in the View tree listener and therefore
> my
> page is not displayed but the error 501 Method not implemented.
>
> The cause of this error is due to the word ...../Arrendatário&.... It is
> using an accented Portuguese character "á" instead of use the html code
for
> it.
>
> I know that the page should had been designed correctly (using html codes)
> but as a load tester I would like to bypass it just like the normal
browser
> (IE, Firefox) does.
>
> So how could modiy such characters on the fly before trying to parse it on
> the http proxy server? I saw some pre-processors components and I am not
> sure if I could use then during recording and if I can which one and how
> would be the best way.
>
> When I tested it without the Jmeter proxy and I did sniffed the network I
> could see the the "á" was ripped off which.
>
> Any ideas ? If someone needs more explanation I am glad to do it.
>
> I will post cross this on www.jmeterforumotion.com
>
> Looking forward to hearing from someone.
>
> Cheers!
>
> Flavio
>
>
>
>
> --
> View this message in context:
>
http://jmeter.512774.n5.nabble.com/Jmeter-novice-asking-help-to-avoid-error-
501-during-recording-using-http-proxy-server-tp4846605p4846605.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to