https://bz.apache.org/bugzilla/show_bug.cgi?id=60928

            Bug ID: 60928
           Summary: Http Request : Connection Leak when keepalive is used
                    with Embedded Resources
           Product: JMeter
           Version: 2.9
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Doing a load test with embedded resources I faced the following issue:

    I have a GET (https://www.foo.com/fragment/ajax/get/identifier/dynamic/)
that returns JSON with wrong Content Type (text/html instead of json)
    HTML Parser parses the response that contains escaped html inside JSON so
it succeeds extracting links and builds 2 links:
       
https://www.foo.com/fragment/ajax/get/identifier/dynamic/%5C%22https:%5C/%5C/www.foo.com%5C/mediap%5C/62%5C/6%5C/3%5C/a%5C/9%5C/10110954_fo_01_web.jpg%5C%22
       
https://www.foo.com/fragment/ajax/get/identifier/dynamic/%5C%22https:%5C/%5C/www.foo.com%5C/mediap%5C/62%5C/c%5C/4%5C/9%5C/d%5C/10361071_fo_01_web.jpg%5C%22
    Response to this new request will return the same response so we end up
being recursive

Now here is the problem:

    For some recursive processing I end up having this which seems ok:
        java.lang.Exception: Maximum frame/iframe nesting depth exceeded.
    But for some of the requests I end up having :
        Response message: Non HTTP response message: Timeout waiting for
connection from pool
        Meaning the Http4 pool has reached the max number of connections, its
size is set to the value of "Parallel downloads. Number" which is 6


I have another case, where I have 1 page that returns 1 html page with many
links.
The 10th link download also fails with "Timeout waiting for connection from
pool".

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

Reply via email to