How to enable amf sampler type

无人久伴 提交于 2019-11-28 02:09:04

问题


I want to record script using amf proxy server but in http sampler setting amf type is missing. How should i enable amf type in amf proxy server.


回答1:


Try first existent solutions:

1. AMF Plugin for JMeter
This will add the following new components:

  • AMF Request
  • AMF Request Defaults
  • AMF Proxy Server

that will allow you to test your app using the AMF3 protocol:

  • Record AMF and HTTP traffic with the AMF Proxy Server
  • Translate AMF to XML for easy manipulation
  • Use variables to provide each virtual user with unique Client and Session IDs
  • Store response XML in a variable for assertion and value extraction
  • Review AMF responses as XML

NOTE: not supported in JMeter 2.6, works with JMeter 2.5.1.


...And these two as possible addition:

2. jmeter-amf-visualizer
JMeter visualizer AMF response.

3. jmeter-amfsampler
JMeter sampler for testing Flex/BlazeDS applications using Adobe's AMF protocol over HTTP.

4. UbikLoadPack Flex/AMF plugin
Commercial plugin from UBIK Load Pack.




回答2:


Apache JMeter does not propose AMF Sampler due to License incompatibility of BlazeDS with Apache licence.

Regarding your login issue you should check that you add a CookieManager to your test plan. Then check you add the Java beans used by your Flex Application to send objects to Flex layer.

You can have a look at:

  • https://www.ubik-ingenierie.com/blog/load-testing-flex-with-jmeter-made-easy/

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

  • Performance testing Flex applications



来源:https://stackoverflow.com/questions/9770078/how-to-enable-amf-sampler-type

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