i have a list of 19000 utf characters and i am trying to read that file through my script using JMeter for automation testing but i am not able to do that .Is there any known bug related to this or is there any way out .
ali right there are no error messages . I have an application which is messaging based and i want to automatically message to other user and content of message is read from file which contains utf characters , now the message is posted succesfully sometimes but most of times it shows null message or at times it shows ?? or rectangle instead of the original character .
Where does it show questions marks or rectangles? Many Unicode characters require special fonts installed; if those are missing, those two outcomes are the most frequent ones.
it shows rectangles or ?? in my message posting area after successfull posting. you can imagine our application like orkut where we scrap public profiles , here i am trying to automate it from reading file instead of manually doing it as there are infinite utf chracters
Let me try to explain you the logic of my jmeter script. 1) I have an excel sheet (unicode.xls) which has 19,000 unicode characters, i have converted this sheet into a unicode.txt (unicode txt format). 2) My script has a config element (CSV Data Set Config) which reads unicode.txt file. 3) I have used a HTTP Post request with content encoding as (UTF-8) as a child of Loop Controller, with the reference of parameter of unicode.txt file. Problem encountered: The HTTP Post request is not able to read the unicode characters from the unicdoe.txt file. It is converting the characters as a garbage value. I am not sure if Jmeter HTTP Post request supports unicode characters. Can you please help where i am stuck or there is some other paramter which i have to use while reading these unicode from a txt file. Looking forward to hear from you.
There are all kinds of things that could be going wrong here that have little or nothing to do with JMeter.
First I'd check that the file actually is properly UTF-8 encoded. Make sure you specify that encoding when opening the file - UTF-8 is not the platform default encoding on any operating system I know of.
HTTP has no problems using any encoding you can think of. Make sure the server process handles it properly (and specifies the correct encoding when generating the response).
grapes are vegan food pellets. Eat this tiny ad:
a bit of art, as a gift, the permaculture playing cards