When file is not found, documentation says : If an error occurs opening or reading the file, then the function returns the string "**ERR**" But if file does not exist, a JMeterStopTestException is thrown instead.
Author: pmouawad Date: Sat Mar 4 15:01:54 2017 New Revision: 1785497 URL: http://svn.apache.org/viewvc?rev=1785497&view=rev Log: Bug 60819 - Function __fileToString does not honor the documentation contract when file is not found Add JUnit for function Bugzilla Id: 60819 Added: jmeter/trunk/test/src/org/apache/jmeter/functions/TestFileToString.java (with props) Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/FileToString.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4318