Bug 51981 - Better support for file: protocol in HTTP sampler
Summary: Better support for file: protocol in HTTP sampler
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.5.1
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
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