问题
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