views:

65

answers:

1

Hi,

we use spring-remoting for a Client-Server-Application. Now we are in doubt how to realize a real load test with serialized objects.

The problem is that many load testing toolkits are based on plain text HTTP communication, so it's very easy to parameterize the http-requests. Because spring-remoting is based on serialized objects we can't easily parameterize the http-communication to the server.

My first idea was to encapsulate the endpoint of spring-remoting and to call the service over client-side service classes. But how can I realize calling the remote-service from multiply clients to gain a real load test scenario? Are there any solution for wrapping the client-side service in an easy manner?

Has anybody some experiences how to realize it?

Thanks for advice.

A: 

There is a discussion on the Spring forums about how to use JMeter to do testing. To use JMeter you'll need to write a custom Sampler. They have examples on the JMeter site.

Alternatively, you could try Grinder. Testing scripts are written using jython but it is arguably easier to create tests for non-standard protocols.

jamie mccrindle