Bug 51981

Summary: Better support for file: protocol in HTTP sampler
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 2.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Sebb 2011-10-06 19:24:35 UTC
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.
Comment 1 Sebb 2011-10-06 22:10:18 UTC
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:47 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2583