Search code examples
blazedsjmeteramfstress-testing

Stress test BlazeDS polling


I'm looking for some guidance on stress testing BlazeDS polling channels.

I've followed this excellent article on using jmeter to test AMF messaging:

http://blog.jteam.nl/2009/07/14/performance-testing-a-flex-blazeds-application/

But that's only suitable for non-polling messages. I can't just generate the AMF for all polling messages upfront - each sequential message varies.

I'm thinking that I may be able to use a BeanShell PreProcessor to create the AMF request java object, then serialize that and send it as POST data.

I'd also need a BeanShell PostProcessor to deserialize the binary AMF response and pass some data to the next request.

Has anyone had a go at something like this before? I'm not sure if what I'm trying to do is beyond the capabilities of jmeter's Pre and PostProcessors.

Thanks, Stu


Solution

  • I'm going to say no, this isn't possible with jmeter's pre/post processors.

    I've had to abandon jmeter and build my own simple load testing java app, which creates the AMF request objects.