Discussion:
JMeter with socket-based binary protocol
d***@daune-consult.com
2005-04-14 10:24:01 UTC
Permalink
Hi all,

I have developed a custom socket-based binary protocol, and I would like to use
JMeter to test my server.

I just want to read some files containing prepared messages, send them one after
another and store somewhere the response (as binary file)

I am new to JMeter, and after reading the documentation, I have not found that
much information on how to do it.

The TCP Sampler seemed to be the one to use, but it uses a String request data.
And my messages are binary.

Maybe I am just trying to use JMeter for something it is ont designed for ?

Or I need to write my own plugin to handle this case ?

Any help is welcome.

Regards,

J-F


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Peter Lin
2005-04-14 12:51:50 UTC
Permalink
you'll probably have to write your own plugin using your custom
driver. look at how the TCP sampler works for reference.

peter
Post by d***@daune-consult.com
Hi all,
I have developed a custom socket-based binary protocol, and I would like to use
JMeter to test my server.
I just want to read some files containing prepared messages, send them one after
another and store somewhere the response (as binary file)
I am new to JMeter, and after reading the documentation, I have not found that
much information on how to do it.
The TCP Sampler seemed to be the one to use, but it uses a String request data.
And my messages are binary.
Maybe I am just trying to use JMeter for something it is ont designed for ?
Or I need to write my own plugin to handle this case ?
Any help is welcome.
Regards,
J-F
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
sebb
2005-04-14 13:16:14 UTC
Permalink
Or you can write the code in the BeanShell Sampler.

S.
Post by Peter Lin
you'll probably have to write your own plugin using your custom
driver. look at how the TCP sampler works for reference.
peter
Post by d***@daune-consult.com
Hi all,
I have developed a custom socket-based binary protocol, and I would like to use
JMeter to test my server.
I just want to read some files containing prepared messages, send them one after
another and store somewhere the response (as binary file)
I am new to JMeter, and after reading the documentation, I have not found that
much information on how to do it.
The TCP Sampler seemed to be the one to use, but it uses a String request data.
And my messages are binary.
Maybe I am just trying to use JMeter for something it is ont designed for ?
Or I need to write my own plugin to handle this case ?
Any help is welcome.
Regards,
J-F
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
---------------------------------------------------------------------
Loading...