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

[QUESTION]我接口写入用例为啥会概率性写入成功 #31619

Open
hujirong521317 opened this issue Jun 19, 2024 · 5 comments
Open

[QUESTION]我接口写入用例为啥会概率性写入成功 #31619

hujirong521317 opened this issue Jun 19, 2024 · 5 comments
Assignees
Labels
状态:待处理 已分配给相关处理人等待处理人处理并更新状态

Comments

@hujirong521317
Copy link

请描述您的问题

执行一次请求,成功,再次执行就提示这个:<!doctype html><script defer="defer" src="/js/fortawesome.38fc435e.js"></script><script defer="defer" src="/js/jsencrypt.736caa73.js"></script><script defer="defer" src="/js/pinia.0d3c3705.js"></script><script defer="defer" src="/js/jspdf.9a32b13c.js"></script><script defer="defer" src="/js/html2canvas.94141076.js"></script><script defer="defer" src="/js/chunk-vendors.aa8fd6ec.js"></script><script defer="defer" src="/js/app.e92475e3.js"></script>We're sorry but metersphere-frontend doesn't work properly without JavaScript enabled. Please enable it to continue.

@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label Jun 19, 2024
@fit2-zhao
Copy link
Contributor

为了更好的解决你的困惑,麻烦把问题再描述详细些。

@github-actions github-actions bot added 状态:待用户反馈 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels Jun 20, 2024
@hujirong521317
Copy link
Author

我测试脚本,执行这个接口,循环写入测试用例例"https://metersphere.innosnap.com/track/test/case/minder/edit",,
20240620125050
但是执行一次成功写入,再次执行,无法成功写入,给我返回的是<!doctype html><script defer="defer" src="/js/fortawesome.38fc435e.js"></script><script defer="defer" src="/js/jsencrypt.736caa73.js"></script><script defer="defer" src="/js/pinia.0d3c3705.js"></script><script defer="defer" src="/js/jspdf.9a32b13c.js"></script><script defer="defer" src="/js/html2canvas.94141076.js"></script><script defer="defer" src="/js/chunk-vendors.aa8fd6ec.js"></script><script defer="defer" src="/js/app.e92475e3.js"></script>We're sorry but metersphere-frontend doesn't work properly without JavaScript enabled. Please enable it to continue.

是接口有什么安全性设置吗

@github-actions github-actions bot added 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 and removed 状态:待用户反馈 labels Jun 20, 2024
@fit2-zhao
Copy link
Contributor

默认安装并未做限制,如果你是循环调用,建议加点间隔时间,或者对请求加个失败重试。

@github-actions github-actions bot added 状态:待用户反馈 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels Jun 20, 2024
@fit2-zhao
Copy link
Contributor

如果只是导入用例可以用 track/test/case/add 这个接口试试看; 或者用平台提供的脑图导入功能。

@hujirong521317
Copy link
Author

我是利用AI生成,然后循环用这个接口写入,请求头信息就是API文档要求的那几个参数吧,,,但是postman执行就没有问题,很困惑

@github-actions github-actions bot added 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 and removed 状态:待用户反馈 labels Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
状态:待处理 已分配给相关处理人等待处理人处理并更新状态
Projects
None yet
Development

No branches or pull requests

3 participants