是否可以使用K6进行角柏树测试?
我们的角度项目中有很多柏树测试。但是我们希望将K6用作我们的新主负载测试工具。但我们也希望继续我们已经书面的柏树测试。
是否可以在K6中执行柏树测试?例如,使用1000个VU的K6运行K6,但使用柏树测试scrpts,而不是K6测试脚本。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里有一篇文章:
很多步骤,但是要更新柏树v10的语法
之前:浏览器:启动
钩子:There's an article here: Using Cypress to automate k6 scripts recording
Lots of steps, but to update for Cypress v10 the syntax for the
before:browser:launch
hook:上面的答案是一个可靠的建议。我使用了该文章指示的,只有轻微的修改(我在媒体帖子上提到了)。
对于Cypress 10+,在Cypress.config.js下
,如果您使用的Env Config Files(例如cypress.dev-config.js),则上述
帖子中的E2E部分中的其余指令都可以正常工作。
Answer above was a solid suggestion. I used that article indicated there, only slight modifications (i mentioned it on the medium post).
for cypress 10+, under cypress.config.js
if your using env config files like cypress.dev-config.js then above goes in that e2e section
Rest of instruction on the post should work just fine.