[Red5devs] For art re: Bench Testing

Daniel Rossi electroteque at gmail.com
Fri Oct 31 07:57:09 PST 2008


http://jira.red5.org/confluence/display/appserver/Benchmark+Profiler

Hi art, the bench testing tool is fixed up and works. There is still  
issues getting the jmeter samplers to wait for the returned callbacks  
to produce failure or non failure reports. I'm guessing it could be  
wrapped around junit which jmeter then the junit tests and does its  
thing and tries to flood the server by a certain ammount of concurrent  
requests. Each sampler calls a custom extended client which does  
different functions like video playback, method callback, simple  
connections, and sending and recieving sharedobjects which doesnt seem  
to function yet in RTMPClient ??  I also couldn't work out how to  
publish to the server a video file using RTMPClient would be  
interesting to work out.

The test clients can also be run standalone, or in the ant build and  
by setting the protocol to rtmpt it will do the tests under rtmpt. I  
couldnt get the RTMPTClient to handle rtmps either.

I am finding issues when flooding the server which it waits for the  
concurrent threads to reach its limit before requesting, the server  
will drop the clients because of inactivity errors ???

Could be interesting if this stuff could be fixed up and integrated  
into some automated build if the results can be logged correctly  
assuming it waits for the callbacks. It is quite complicated to try  
and do something other than simply making a request to a http server,  
so needs a bit more effort.

Let me know if this is useful.





More information about the Red5devs mailing list