Hi,

I'm using Python to develop the test driver and test simulator for our
messaging gateway built on top Mina.

From my experience, using Python might be an overkill if you just
want to do some simple testing. But, if you want to do some
sophisticated testing, Python has a lot of libraries/modules you
can leverage. For me, I used pyOpenSSL to test SSL connections
and used Twisted to test asynchronous connections at both ends.

Also, Python has enough XML support for you to generate some
test reports, and Python has a built-in simple HTTP Server you
can use to control the behavior of your test driver or simulator
like timeout and other negative tests.

Another technical reason we use Python is that we want our test
driver and simulator totally decoupled from our gateway from
implementation perspective, so you are confident that you are
really verifying/testing based on the protocol spec.

Hope this info might be helpful.

Jian

On 4/21/07, mat <[EMAIL PROTECTED]> wrote:
No other methods?

2007/4/21, Thierry Mallard <[EMAIL PROTECTED]>:
>
> mat a écrit :
> > Hi,
> >
> > I just finished my server. Can anyone provide me a method to simulate
> the
> > concurrect users test? I open telnet on my pc however when it reaches
> > 70, my
> > pc CPU usage is 100% and connection is hard to make. I wonder if it is
> my
> > server getting slow to accept the connections or it is because of my pc
> > limitation. How could I possible test my server maxiuam concurrent
> > user with
> > low latency.
> Greetings,
>
> You may wish to have a look at the Tsung project, although it may be
> overkill in your case.
>
> Description link : http://www.process-one.net/en/tsung/
>
>
> Best regards,
>
> --
> Thierry Mallard                                                     .:
>
>

Reply via email to