When attempting to create a test case that imports an apache log (Using the Access Log Sampler), the log I was using contains HEAD commands (as does the logs I'll be using later). Here are some lines from the my testing log file. 127.0.0.1 - - [26/Dec/2010:07:31:22 -0500] "GET /index.html HTTP/1.1" 200 652 "http://www.neopets.com/index.phtml" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-1.fc11 Firefox/3.5.9" Its logged response from jmeter. <httpSample t="70" lt="70" ts="1294244068011" s="false" lb="http://inky.soffen.com/index.html" rc="200" rm="Not Found" tn="Thread Group 1-1" dt="text" by="649"/> 192.168.195.194 - - [26/Dec/2010:03:27:24 -0500] "HEAD /mythweb/ HTTP/1.0" 200 - "-" "BigBrother/1.9i" This HEAD line does not get parsed properly. <httpSample t="1" lt="0" ts="1294244068164" s="false" lb="http://inky.soffen.com/192.168.195.194%20-%20-%20[26/Dec/2010:03:27:24%20-0500]%20"HEAD%20/mythweb/%20HTTP/1.0"%202 00%20-%20"-"%20"BigBrother/1.9i"" rc="Non HTTP response code: java.net.ProtocolException" rm="Non HTTP response message: Invalid HTTP method: null" tn="Thread Group 1-2" dt="text" by="796"/>
Closed in error
URL: http://svn.apache.org/viewvc?rev=1104502&view=rev Log: Bug 50544 - In Apache Common Log the HEAD requests cause problems. Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/util/accesslog/TestTCLogParser.java jakarta/jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2448