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

可否考虑在 FreeHttp 中增加对 hosts 功能的支持?同时将 Request Rule 和 Response Rule 放在一起用分组去管理? #17

Open
hhs66317 opened this issue Aug 2, 2022 · 1 comment

Comments

@hhs66317
Copy link

hhs66317 commented Aug 2, 2022

在结合 Fiddler 进行测试时,如果需要调整 hosts ,要么通过系统的 hosts 文件(修改后,想理解生效需要重启fiddler,虽然貌似不重启等一段时间也会生效,但这样不可控),要么通过 Fiddler 自身提供的 Host Remapping来操作(启用/禁用,需要编辑,多了之后也不方便查找),如果 FreeHttp 本身也提供对 Hosts 功能的支持,在设定测试环境时,只需要把特定场景的规则放在同一个分组中(Request Rule 、Response Rule、Hosts混合在分组中),然后启用即可。

这也引申出一个现有的使用不便的地方,目前 Request Rule 和 Response Rule 是分开管理的,在设定测试环境时,需要在分开的区域中进行查找并勾选,测试的业务及场景比较多时,管理起来很是不便,很难保证把所有需要设定的规则都选中(分散在Request Rule 和 Response Rule 的不同分组中,另外还有一些需要额外设定的 Hosts),这简直太头疼了

@lulianqi
Copy link
Owner

十分感谢您的反馈,在未来升级的跨平台版本中会综合各渠道建议有一次大的更新。

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

No branches or pull requests

2 participants