Hi list,
 
I would like to test the performance of a chat server and thought it
could be nice to use JMeter. But I am facing some isues on how to
achieve it.
 
I supose I will have to write my custom Java Sampler using my protocol.
 
The chat protocol is quit simple, 
    1- connect to a room or create a new room 
    2- send messages and listen to the messages comming from the server.
 
What I am want to measure, is how many clients the chat server can
support. Each chat client sending messages all X seconds to the server,
and measure the time the messages take to go from the client to the
server and back to the client. This measures will be performed with
increasing number of chat rooms with increasing number of clients in
each room. Till eventually everything crashes down ;)
 
But I do not see clearly how to achieve this with JMeter.
 
I will have to write a sampler that creates a chat room, but those who
create chat rooms will have to pass the room name and password to the
other samplers that will send messages. Do I need two different
samplers? and how do i pass parameters from one sampler to another (room
name, password).
Can I have threads in my samplers? Because each sampler simulates a chat
client so it will have to listen to a socket for incomming messages, or
will that cause trouble, or this not the right way to use Jmeter, write
samplers, or not the right way to achieve my goals?  
 
Or am I missing something, writing controller objects?
 
As I never used Jmeter before I am full of questions,
 
Thanks for your attention.
Cosyns Xavier.


Reply via email to