Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] 脚本如何进行通信 #387

Open
2 tasks done
01xu10 opened this issue Sep 13, 2023 · 4 comments
Open
2 tasks done

[Q] 脚本如何进行通信 #387

01xu10 opened this issue Sep 13, 2023 · 4 comments
Labels
question Further information is requested

Comments

@01xu10
Copy link

01xu10 commented Sep 13, 2023

Search before asking

  • I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。

Sonic version

2.6.1

Deploy platform

Windows 10

Minimal reproduce step

场景:开启多线程持续收集adb logcat 和 使用 mitmproxy 拦截请求
问题:脚本之间无法通信,不启用多线程,测试步骤进程阻塞,启动多进程后,后面步骤没法获取到之前启动的进程并且关闭
二开是否可集成mitmproxy-java

Are you willing to submit a PR?

  • I'm willing to submit a PR! | 我将发起PR!
@01xu10 01xu10 added the bug Something isn't working label Sep 13, 2023
@ZhouYixun ZhouYixun changed the title [feat] 脚本无法通信 [Q] 脚本如何进行通信 Sep 13, 2023
@ZhouYixun ZhouYixun added question Further information is requested and removed bug Something isn't working labels Sep 13, 2023
@ZhouYixun
Copy link
Member

你这个比较复杂,感觉二开下测试过程那一块是可以解决的

@01xu10
Copy link
Author

01xu10 commented Sep 13, 2023

你这个比较复杂,感觉二开下测试过程那一块是可以解决的

现有能力能变相实现这个操作吗,二开的话不能二开agent端,我导入个mitmproxy-java依赖,再AndroidStepHandler 这边定义多线程启动的话能不能实现我想要的效果

@ZhouYixun
Copy link
Member

为什么不能二开?

@01xu10
Copy link
Author

01xu10 commented Sep 14, 2023

主要是想问一下大佬在agent二开还是,server二开合适,目前已找到不进行二开的解决办法,已发帖子

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants