2

我正在寻找有关压力测试 BlazeDS轮询通道的一些指导。

我已经关注了这篇关于使用 jmeter 测试 AMF 消息传递的优秀文章:

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

但这仅适用于非轮询消息。我不能只为所有轮询消息预先生成 AMF - 每个顺序消息都会有所不同。

我在想我可以使用 BeanShell PreProcessor 来创建 AMF 请求 java 对象,然后将其序列化并将其作为 POST 数据发送。

我还需要一个 BeanShell PostProcessor 来反序列化二进制 AMF 响应并将一些数据传递给下一个请求。

以前有没有人尝试过这样的事情?我不确定我想要做的是否超出了 jmeter 的 Pre 和 PostProcessors 的能力。

谢谢,斯图

4

3 回答 3

1

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.

于 2011-09-25T14:19:41.353 回答
0

BlazeDS/LCDS 团队构建了一个工具,用于对消息传递框架进行压力测试(我想这就是您想要的)。阅读此链接了解更多详情。

于 2010-07-29T09:18:21.970 回答
0

我要说不,这对于 jmeter 的前/后处理器是不可能的。

我不得不放弃 jmeter 并构建自己的简单负载测试 java 应用程序,该应用程序创建 AMF 请求对象。

于 2010-08-04T13:53:14.103 回答