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
981 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,040 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 331 views
+2 votes
0 answers 610 views
+3 votes
2 answers 5,242 views
0 votes
1 answer 359 views
0 votes
0 answers 163 views
+1 vote
2 answers 89 views
+6 votes
1 answer 314 views
+7 votes
8 answers 7,321 views
+2 votes
1 answer 72 views

Not a Member yet?

Ask to Folks Login

My Account
580 Folks are online
69 members and 511 guest online
Your feedback is highly appreciated