When an embedded resource has a URL that contains a dot segment like '/../' this causes an HTTP 404 because the URL isn't normalized before retrieving it. If I take such a URL and try to do a HTTP GET using Commons HttpComponents I see the same behavior unless I create a URI beforehand and first call normalize() on that and pass the result to the HTTP GET. It seems these HTTP libraries assume that this is done and so it seems that JMeter should incorporate this for the retrieve embedded resources functionality.
Created attachment 33493 [details] normalize embedded uris before download Try to normalize URIs before downloading them as part of the embedded resource downloads.
Date: Tue Jan 26 20:49:07 2016 New Revision: 1726900 URL: http://svn.apache.org/viewvc?rev=1726900&view=rev Log: Normalize URIs when downloading embedded resources. Bugzilla Id: 58923 Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3796