https://issues.apache.org/bugzilla/show_bug.cgi?id=50544

           Summary: In Apache Common Log the HEAD requests cause problems.
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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&quot;HEAD%20/mythweb/%20HTTP/1.0&quot;%202
00%20-%20&quot;-&quot;%20&quot;BigBrother/1.9i&quot;" 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"/>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to