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
1,063 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 396 views
+3 votes
2 answers 5,743 views
+1 vote
2 answers 115 views
+6 votes
1 answer 343 views
+7 votes
8 answers 7,415 views
+2 votes
1 answer 81 views
+3 votes
1 answer 82 views
+12 votes
1 answer 674 views
asked in Programming by krish Expert (6,310 points)
+4 votes
5 answers 752 views

Not a Member yet?

Ask to Folks Login

My Account
741 Folks are online
0 members and 741 guest online
Your feedback is highly appreciated