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

           Summary: Invalid connection handling over threads
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2009-09-10 08:24:00 PDT ---
Connections are not properly handled as you expect. When a new loop starts for
a single thread, you expect that it would start a new connection. Unfortunately
the open connection (when Keep-Alive is enabled) will still be used. What you
want is dat a new loop would simulate a new user, so it would start a new
connection. This is bad for especially https, which means it doesn't initiate a
new SSL Handshake. This is the case for "HTTP Request" and "HTTP Request
HTTPClient".

And for the sampler "HTTP Request" the open connections are shared among the
threads. When Thread 1 has a connection open and is waiting for the next
request, Thread 2 will use the open connection of Thread 1. What you expect is
that all threads initiates their own connections. Wireshark/tcpdump analyses
shows that SYN's are not initiated for new threads when another thread is in an
idle state but with a connection to a server open.

Each thread (and iteration / loop) should handle its own connections.

-- 
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