Issues in running Jmeter amfproxy

陌路散爱 提交于 2020-01-05 20:48:10

问题


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:


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:

  • https://www.ubik-ingenierie.com/blog/ubikloadpack-flex-amf-plugin-4-0-for-apache-jmeter-released/
  • https://www.ubik-ingenierie.com/blog/load-testing-flex-with-jmeter-made-easy/

Disclaimer : We are provider of this plugin



来源:https://stackoverflow.com/questions/21847658/issues-in-running-jmeter-amfproxy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!