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

回放接口失败,响应内容中包含href重定向,则测试报告打开也会跟着重定向 #28

Open
chenrongsenFH opened this issue Jan 20, 2020 · 1 comment

Comments

@chenrongsenFH
Copy link

step1: 回放接口失败,提示XX错误后,重定向至登录页
step2:打开测试报告中,则测试报告也会跟着重定向,导致测试报告无法展示原先的内容

@idle-man
Copy link
Owner

抱歉回复的晚了不少,请问有具体的HAR或录制好的yml吗?以及回放所用的命令是什么?至于您提到的重定向到登录页的问题,应该是您的测试对象的自身逻辑,比如请求中的token或cookie过期就会如此,这种就需要在录制时或录制后设计好接口依赖

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