Testcafe并发负载测试性能 [英] Testcafe concurrent load test performance
问题描述
我试图通过同时为系统中的每个用户"运行一个测试,来使用Testcafe在Web应用程序上运行负载测试.
I am trying to run a load test on my web application with Testcafe, by concurrently running a single test for each "user" in the system.
我需要运行1000个测试实例,但在测试方面遇到资源问题-运行多个Testcafe实例非常耗资源,我想知道是否有人知道一种同时运行一批Testcafe测试的方法,而无需性能开销?
I need to run 1000 instances of the test but ran into a resource problem on the test side - running multiple Testcafe instances is very resource heavy and I was wondering if anyone knows a way to run a batch of Testcafe tests concurrently without the performance overhead?
推荐答案
或者,您可以使用无头浏览器在AWS lambda中运行TestCafe.
As an alternative, you can run TestCafe in an AWS lambda with a headless browser.
这是我们用于reSolve框架负载测试的内容: https://github.com/reimagined/testcafe-serverless
Here is what we use for reSolve framework load testing: https://github.com/reimagined/testcafe-serverless
这篇关于Testcafe并发负载测试性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!