I would like to use JMeter to test an application that communicates over sockets. It is done in java. In the server I have the typical
myServerSocket = new ServerSocket(1025);
For every connection a thread reads and understands a line. And in clients I have the typical
clientSocket = new Socket(hostCM, 1025);
out = new PrintWriter(clientSocket.getOutputStream(), true);
out.println("some bit string here");
I would like to use JMeter or any other load testing tool to send lots of requests at the same time and make my stress and load testing. But I dont know how to prepare a test. Is is possible to do this in JMeter at all?
Try using JMeter's Java Request Sampler: http://jmeter.apache.org/usermanual/component_reference.html#Java_Request
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With