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
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
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3606