开发者

How to set up Charles proxy for standalone Flash player during FlexUnit integration tests?

开发者 https://www.devze.com 2023-01-22 09:05 出处:网络
I\'d like to record the AMF traffic that happens during some of my Flex application unit tests.I am using Maven/flex开发者_如何学JAVAmojos to compile the unit tests.I\'ve installed Charles proxy and c

I'd like to record the AMF traffic that happens during some of my Flex application unit tests. I am using Maven/flex开发者_如何学JAVAmojos to compile the unit tests. I've installed Charles proxy and can get it to work from Firefox, but how can I get it to work from the standalone Flash player that flexmojos/FlexUnit invokes to run the integration tests to my BlazeDS backend Java server?


After failing to find anyway to do this (on Ubuntu), I used the reverse-proxy capability of Charles to have it act only as a proxy for the BlazeSD server. So far anyway, it seems very capable of reverse-proxying AMF traffic. Nice.

0

精彩评论

暂无评论...
验证码 换一张
取 消