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