Bug 51981 - Better support for file: protocol in HTTP sampler
Better support for file: protocol in HTTP sampler
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.5.1
PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-10-06 19:24 UTC by Sebb
Modified: 2011-10-06 22:10 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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