开发者

How to test latency of Flex messages

开发者 https://www.devze.com 2023-03-27 18:51 出处:网络
I have a system where clients connect via http stream开发者_Python百科ing channels and use Producer and Consumer classes to dispatch and receive messages. I need to test the latency of messages in a w

I have a system where clients connect via http stream开发者_Python百科ing channels and use Producer and Consumer classes to dispatch and receive messages. I need to test the latency of messages in a way that adequately simulates real-world usage when the server is under load. I have 3 ideas for how this may be accomplished. Has anyone tried and succeeded or failed with these methods?

  1. Use an out-of-the box test system like JMeter. Haven't found any that support streaming yet.

  2. Use Selenium and FlexMonkey on BrowserMob to simulate actual users.

  3. Use a client api (possibly from BlazeDS) that supports streaming and Flex messaging to write a custom testing framework. Haven't found a client api that supports streaming yet, any language would be OK.


There is a tool for testing the performance of BlazeDS/LCDS, created by Adobe. Take a look here (there is a PDF file called Adobe LiveCycle Data Services 3 ES2 Performance Brief in the PDF portofolio, having a couple of attachments) .

0

精彩评论

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

关注公众号