如何在 FlexUnit 集成测试期间为独立 Flash 播放器设置 Charles 代理?

发布于 2024-09-29 03:39:15 字数 188 浏览 0 评论 0原文

我想记录一些 Flex 应用程序单元测试期间发生的 AMF 流量。我正在使用 Maven/flexmojos 来编译单元测试。我已经安装了 Charles 代理并且可以让它在 Firefox 中工作,但是如何让它在独立 Flash 播放器中工作(flexmojos/FlexUnit 调用该播放器来运行对我的 BlazeDS 后端 Java 服务器的集成测试)?

I'd like to record the AMF traffic that happens during some of my Flex application unit tests. I am using Maven/flexmojos 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

温柔嚣张 2024-10-06 03:39:15

在无法找到执行此操作(在 Ubuntu 上)之后,我使用 Charles 的反向代理功能使其仅充当 BlazeSD 服务器的代理。无论如何,到目前为止,它似乎非常有能力反向代理 AMF 流量。好的。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文