Bug 57995 - HTTP Sampler to use FileServer
Summary: HTTP Sampler to use FileServer
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.13
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-03 13:30 UTC by Andrey Pokhilko
Modified: 2015-06-03 14:10 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Pokhilko 2015-06-03 13:30:36 UTC
Through my investigations of file uploads in JMeter I found that Post
Files do not use FileServer, thus unable to work correctly with paths
relative to JMX location. 

I see good value in this feature of paths relative to JMX location.
Otherwise it is quite painful to operate test plans with resource files.
One more thing is that CSV Data Set works fine because it uses
FileServer, so we're inconsistent: one component works with files in one
way, another works other way...

Proposed changes: https://github.com/apache/jmeter/pull/23/files
Comment 1 Andrey Pokhilko 2015-06-03 14:10:54 UTC
Date: Wed Jun  3 13:38:24 2015
New Revision: 1683328

URL: http://svn.apache.org/r1683328
Log:
Bug 57995 - Use FileServer in HTTP Request files

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
    jmeter/trunk/test/src/org/apache/jmeter/services/TestFileServer.java
    jmeter/trunk/xdocs/changes.xml