AMF Stress Testing – Flex, Ruby, JMeter.

A while back I was tasked with coming up with a way to do stress testing for AMF. I looked at a bunch of tools, and a couple in particular. Those being curl-loader, httperf and JMeter. The only tool out of the box that supported “arbitrary binary support” was JMeter. AMF is sent in an HTTP request as arbitrary binary, not a regular multipart upload. Which is cool, but not many tools support that.

Anyway, I’m going to keep this short – here is a rough set of tools that will get you stress testing your AMF gateways. Make sure to read the “readme” in the zip file, this has enough instruction on the different tools, and the source for it all, so you can read through it, alter it, use it to your advantage.

Also, the capture client only works with SSR right now, but I’ve included the source for everything so you could go in and update the part that I left out which was support for Remote Object. It shouldn’t be a ton of work, sorry I couldn’t get that done.

I’ll be watching the RubyAMF mailing list for any help requests / questions about this. Hopefully this is really straight forward, and the readme does a pretty good job of explaining what’s going on with everything.

Enjoy.

Sander said,

January 25, 2008 @ 05:41

Hello i am very interested in your approach of stress testing AMF (for a Java project). However, the link of your zip file seems dead.

Best regards,
Sander

tom said,

January 25, 2008 @ 07:44

http://blog.rubyamf.org/downloads/amf_stress_test.zip
-> 404

aaron said,

January 25, 2008 @ 09:50

Whoops, I didn’t even realize it wasn’t there. Sorry about that. It’s there now.

Vixiom Axioms » Stress testing AMF said,

January 29, 2008 @ 00:14

[...] setup: AMF Stress Testing – Flex, Ruby, JMeter. The screen cast: Stress Testing AMF Gateway Screen Capture The results: 37 Million, 9 [...]

Aina said,

August 14, 2009 @ 01:26

hi

I’ve tried to load test a flex app. Actually, JMeter can record the scenario but when playing back the stuff, i have 100% errors on my swf :’(

do you know whether JMeter has problems handling flex app components ? or some kind of Session problems whithin Flex perhaps ?

thx

RSS feed for comments on this post · TrackBack URI

Leave a Comment