https://issues.apache.org/bugzilla/show_bug.cgi?id=50568
Summary: Function __FileToString(): Could not read file when
encoding option is blank/empty
Product: JMeter
Version: 2.4
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
When you use __FileToString() function without add a encoding charset to read
the file, JMeter generate this error in jmeter.log :
2011/01/10 20:41:52 WARN - jmeter.functions.FileToString: Could not read file:
/home/milamber/file.txt
2011/01/10 20:41:52 INFO - jmeter.threads.JMeterThread: Stopping Thread:
org.apache.jorphan.util.JMeterStopThreadException: End of sequence
2011/01/10 20:41:52 INFO - jmeter.threads.JMeterThread: Stop Thread detected
by thread: Groupe d'unités 1-1
${__FileToString(/home/milamber/file.txt,,MY_FILE)}
If you add a charset, no error.
${__FileToString(/home/milamber/file.txt,UTF-8,MY_FILE)}
Thanks to Fabrice B. from French user group to catch this bug.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]