processone / tsung

Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
http://www.process-one.net/en/tsung/
GNU General Public License v2.0
2.54k stars 405 forks source link

My misconception for keepalive in http #374

Open xpegenaute opened 4 years ago

xpegenaute commented 4 years ago

Hi, first of all thanks for your time and effort on this tool!

I am trying to generate a test to simulate N users connecting to a "basic" web service. I configured everything but I see that the tests are executed using a single connection. This behaviour is a bit confusing for me.

As a load testing tool I would expect that tsung could define an open/close per session/transaction/whatever. In this way it can really "emulate" the client behaviour. I want to be sure that my services are able to support also these operations.

As far as I understood, tsung only allow to emulate this open/close connection using multiple clients + "virtual ips" per client but it makes much more difficult to test the load of huge numbers of clients (>100K).

How could I solve it ?, probably I am wrong in some of my assumptions.

Thanks, Xavi