Hi,
I’ve had a problem on my mind for some time, and I guess it’s time to air it : will it be possible to perform loadtesting on Vaadin 7.1 when using push technology?
We’ve not had a chance to play with the 7.1 branch yet, or to dabble with push (other than some experiments with 6.x + DontPushOzoneLayer a year ago) - but we have managed to perform some rudimentary load-testing on Vaadin 6 using JMeter (not using push), following the
guide on the wiki
; fairly simple, in that you can record and replay via the HTTP Proxy inside JMeter. We’d do do some customization/parameterization of the HTTP requests, but that’s fairly easy (We’d probably generate the traffic using our QA Test tools, record that, and then mung the recorded JMeter test plan to introduce variables etc).
We want to use push : there many use cases where we’d need to be able to push notifications and updates to the clients. We’ve pushed them to back-burner for now, but I am thinking about them.
If, in 7.1, a push transport is based on WebSockets - how will it be possible to loadtest it? JMeter has a sampler for WebSockets (or somewone somewhere has a WebSocket sample for JMeter) - but how would you be able to record the traffic in the first place? I’m sure that that we’d able to use HTTP request/response with 7.1 - but there’s not point in load testing a transport that we’d not be using in a deployed environment. Has this been considered by the dev team? What would Vaadin’s approach to loadtesting a push based application - or am I worrying about nothing?
Cheers,
Charles.
(Tori just swallowed my original post, by the way: I’ve retyped this in a text editor to avoid losing it again. That’s twice that’s happened to me, and it’s really quite irritating! Time of swallowed post approximately 07.30 AM Weds May 29 (UTC), in case there’s anything in the logs)