Hey there! any question in your mind? Ask It Now!.

Popular Categories





JMETER : contains unsafe characters, will escape it, message:Illegal character in query at index.

+4 votes
860 views
asked in Programming by harbind singh (200 points)
In Jmeter while running a recorded script an error is coming while selecting Ajax dropdowns " contains unsafe characters, will escape it, message:Illegal character in query at index.".

Please Provide a Solution for this problem

1 Answer

+2 votes
answered by mika (1,290 points)
selected by harbind singh
 
Best answer

You just need to encode your special characters such as % , space , @, # in the URL 

For this just go to your recorded script and check encode check box in front of special character values then and run it.

For more information for unsafe characters see And search unsafe in this j meter doc.

 

I hope you got the point.

commented by monika (2,020 points)
I was facing the same error when I have recorded a script in which I had to select a ajax drop down ,it was fine in recording somehow when I started the script  I found this error mentioned above . then I saw my script on those steps where I had selected hotels from the drop down there were some spacial char so i checked (Encode? ) check box and saved the script and ran again. now it was fine .
it was helpful thanks for it!

Related Questions

0 votes
1 answer 245 views
+2 votes
0 answers 476 views
+3 votes
1 answer 3,941 views
+1 vote
2 answers 82 views
0 votes
0 answers 141 views
+6 votes
1 answer 267 views
+2 votes
1 answer 54 views

Not a Member yet?

Ask to Folks Login

My Account
259 Folks are online
1 members and 258 guest online