The HTTP Sampler currently supports reading from a file; however it only reads the top-level file, and does not support reading embedded resources. It would be useful for testing to be able to read downloaded HTML files, e.g. as saved by a browser.
URL: http://svn.apache.org/viewvc?rev=1179883&view=rev Log: Bug 51981 - Better support for file: protocol in HTTP sampler Added: jakarta/jmeter/trunk/bin/testfiles/HTMLParserTestFile_2.csv jakarta/jmeter/trunk/bin/testfiles/HTMLParserTestFile_2.jmx (with props) jakarta/jmeter/trunk/bin/testfiles/HTMLParserTestFile_2.xml (with props) jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPFileImpl.java (with props) Modified: jakarta/jmeter/trunk/build.xml jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerFactory.java jakarta/jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2583