jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Frank>
Subject Re: url parameter encoding using javascript function problem
Date Thu, 20 Jan 2011 08:20:08 GMT

On 01/20/2011 07:09 AM, Rajiv Nanduani wrote:
> Hi all,
> In jmeter i have to pass around 15 to 20 url parameters from csv file . I am
> using the javascript function to encoding the url parameters I am not using
> the Jmeter send parameter with request table option. there is also option
> aviable to encode the parameters.
> Here problem is that when ever my parameter value hassingle quote that time
> it is not working means Jmeter doen not run the script
> like my valriable   abc = 'rajiv'
> then i am sending abc value in request by using javascript function
> /search?q=${__javaScript(encodeURIComponent('${abc}');)}
> it is working fine if my value does not contain single quote

How and where is the variable abc initialized?
In a BeanShell Processor?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message