开发者

Stress test BlazeDS polling

开发者 https://www.devze.com 2023-01-09 06:07 出处:网络
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:

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 deseriali开发者_开发百科ze 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


There is a plugin for JMeter that will let you record AMF messages, edit them in XML, then use them in a stress test. You can put variables (e.g. user ids, counters) into the XML that will be replaced when they are delivered. It can also store responses in a JMeter variable for data extraction and re-use in later requests.

http://github.com/steeltomato/jmeter-amf

Full disclosure: I am the project author.


There is a tool build by the BlazeDS/LCDS team for stress testing the messaging framework (I suppose that's what you want). Read this link for further details.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消