Issues in running Jmeter amfproxy

2019-08-04 03:46发布

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

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.

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?

1条回答
We Are One
2楼-- · 2019-08-04 04:26

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

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

查看更多
登录 后发表回答