Page 1 of 1

Using Bluebox for load testing

Posted: 09 Sep 2009, 14:06
by ers
Hi folks,

As Bluebox wraps the SmartFox protocol in HTTP packets, do you think it would be possible to use an HTTP load testing tool (like JMeter) to test Smartfox and some custom extensions performance in high load conditions? All communication between client and server could be recorded and recreated at the HTTP level.

Does it make any sense?

Thanks!

Esteban

Posted: 11 Sep 2009, 17:45
by Lapo
Hello,
As Bluebox wraps the SmartFox protocol in HTTP packets, do you think it would be possible to use an HTTP load testing tool (like JMeter) to test Smartfox and some custom extensions performance in high load conditions? All communication between client and server could be recorded and recreated at the HTTP level.

I wouldn't recommend this unless you want to test the BlueBox performance :)
And even in this case you would have problems with a "regular" HTTP client. The BlueBox uses a special HTTP technique called "continuations" to optimize the polling loop and provide super-fast response times. You would need a specific Http client in order to talk to the BlueBox correctly.

For load testing SmartFox we usually recommend to use the Actionscript3 or Java API and build a client application that represent the stress test. Then you can instantiate many of them to hit the server.