For Programmers: Free Programming Magazines  


Home > Archive > Software Testing > September 2005 > TCP load testing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TCP load testing
Alain Ribault

2005-08-17, 9:31 am

Hi all,

Do you know any tool to perform load test of a TCP client-server
specific application ?

- the application protocol/communication (over socket) is specific
between client and server
- the TCP data must be computed (TCP data for VU_n is not the same as
VU_n+1) so scripting is needed
- if possible, clients IP address may be different
- mulitple VUs in each client and multiple clients

TIA,

Alain.
Wolfram Jahn

2005-08-17, 5:08 pm

Alain Ribault wrote:

> - the application protocol/communication (over socket) is specific
> between client and server
> - the TCP data must be computed (TCP data for VU_n is not the same as
> VU_n+1) so scripting is needed
> - if possible, clients IP address may be different
> - mulitple VUs in each client and multiple clients


Given your preconditions, I would write from scratch in Perl.
The socket examples in the documentation contain both client and server
sample code.

Depending on your personal preferences, you may want to use the more
loquatious Python instead.

Wolfram
Jorgen Grahn

2005-09-12, 3:58 am

On Wed, 17 Aug 2005 21:16:58 +0200, Wolfram Jahn <wjng@kirchweg.de> wrote:
> Alain Ribault wrote:
>
>
> Given your preconditions, I would write from scratch in Perl.
> The socket examples in the documentation contain both client and server
> sample code.
>
> Depending on your personal preferences, you may want to use the more
> loquatious Python instead.


On the other hand, the original poster wasn't very specific. He might have
to:

- do massive amounts of traffic
- massive number of connections
- test in the presence of packet loss, long latency towards some clients ...
things that affect the behavior of the TCP stack and application on the
server

There's a business case for some kind of tool in this area. Does the poster
need it? Does it exist? I don't know.

/Jorgen

--
// Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
\X/ algonet.se> R'lyeh wgah'nagl fhtagn!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com