运行 Jmeter amfproxy 的问题 [英] Issues in running Jmeter amfproxy

查看:52
本文介绍了运行 Jmeter amfproxy 的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一直在尝试对使用 amfPHP 进行后端交互的 Flash 游戏服务器进行负载测试.

Have been trying to do a load test on flash game server that uses amfPHP for backend interaction.

我添加了来自 Ken(steeltomato) 的 Jmeter-amf 插件,并按照用户指南中提到的所有步骤 (https://github.com/steeltomato/jmeter-amf/wiki/User-guide)

I have added the Jmeter- amf plugin from Ken(steeltomato) and followed all the steps mentioned in the user guide(https://github.com/steeltomato/jmeter-amf/wiki/User-guide)

但是每当我开始使用代理记录时,我都会在日志中收到以下错误

But whenever i start recording using the proxy i get this following error in the log

2014/02/18 12:14:11 ERROR - jmeter.JMeter: Uncaught exception: java.lang.NullPointerException   
at org.apache.jmeter.protocol.amf.proxy.AmfProxyControl.deliverSampler(AmfProxyControl.java:433)
at org.apache.jmeter.protocol.amf.proxy.AmfProxy.run(AmfProxy.java:315)
2014/02/18 12:14:13 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.NullPointerException
at org.apache.jmeter.protocol.amf.proxy.AmfProxyControl.deliverSampler(AmfProxyControl.java:433)
at org.apache.jmeter.protocol.amf.proxy.AmfProxy.run(AmfProxy.java:315)

行错误似乎是无法捕获值的事件,因为每次我加载要捕获的页面时都会发生这种情况.

The line error seems to be that of an event that could not capture the value since this happens every time i load a page to capture.

我是否遗漏了步骤中的某些内容,还是因为任何 Jmeter 限制.我在 Jmeter 中找不到 amf 采样器 类型,这是错误的原因吗?

Did i miss out something in the steps or is it because of any Jmeter restrictions. I could not find the amf sampler type in Jmeter is this what cause the error?

推荐答案

您尝试使用的插件不适用于 JMeter 的最新版本.

The plugin you are trying to use does not work with recent up to date versions of JMeter.

我认为您需要使用 JMeter <2.6 现在已经很老了.

I think you need to use JMeter < 2.6 which is now very old.

另一种方法是使用此商业插件,该插件经过维护并提供比您尝试的更多功能,请参阅:

An alternative is to use this commercial plugin which is maintained and provides more features than the one you tried, see:

免责声明:我们是此插件的提供者

Disclaimer : We are provider of this plugin

这篇关于运行 Jmeter amfproxy 的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆