Bug 57995

Summary: HTTP Sampler to use FileServer
Product: JMeter Reporter: Andrey Pokhilko <apc4>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   

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