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

            Bug ID: 54778
           Summary: HTTP Sampler should not return 204 when resource is
                    found in Cache
           Product: JMeter
           Version: 2.9
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Looking at Http implementations, it seems when Cache Manager is used and if URL
was cached jmeter returns response code 204.

Looking at this code definition, it does not seem to be a good response no ?

---------------------------------------------------------------------------

The server has fulfilled the request but does not need to return an
entity-body, and might want to return updated metainformation. The response MAY
include new or updated metainformation in the form of entity-headers, which if
present SHOULD be associated with the requested variant.

If the client is a user agent, it SHOULD NOT change its document view from that
which caused the request to be sent. This response is primarily intended to
allow input for actions to take place without causing a change to the user
agent's active document view, although any new or updated metainformation
SHOULD be applied to the document currently in the user agent's active view.

The 204 response MUST NOT include a message-body, and thus is always terminated
by the first empty line after the header fields.
---------------------------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to