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: [email protected]
For additional commands, e-mail: [email protected]