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.
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.
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://stackoverflow.com/questions/9770078/how-to-enable-amf-sampler-type