使用Selenium Grid进行性能测试? [英] Use Selenium Grid to run performance testing?

查看:233
本文介绍了使用Selenium Grid进行性能测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在项目中使用硒进行功能测试,并继续将此测试案例移至硒网格模式以进行性能测试.令人担忧的是,可伸缩性问题:我们应该部署多少个硒实例?即使一台真实机器上有10个虚拟机,仍然不容易模拟真实流量. 如果不使用硒网格,如何模拟真实的网页,尤其是使用丰富的ajax ui进行验收测试.

We use selenium to run functional testing in our project, and continue to move this test stories into selenium grid mode to run performance testing. The concern is that, the scalability issue: how many selenium instance should we deploy? Even one real machine with 10 virtual machine, still not easy to simulate the real traffic. If not to use selenium grid, how to simulate a real web page, especially with rich ajax ui for your acceptance testing.

推荐答案

我同意Kieren提供的链接(网格常见问题解答). 浏览器.

I agree with link provided by Kieren (Grid FAQ). Browsermob .

硒不是为负载测试而设计的,而是针对硒的. Web应用程序功能/验收测试.

Selenium is not designed for load testing, rather than it is aimed for web application functional/acceptance testing.

但是,如果您仍想使用硒进行负载测试,则应该使用HTMLUnitDriver或从Browser Mob开始.如果要在没有网格的情况下实现并行性,则可以使用 ISFW .

But still if you want to use selenium for load testing you should utilize HTMLUnitDriver or start with Browser Mob. If you want to achieve parallelism without grid then you can utilize ISFW.

这篇关于使用Selenium Grid进行性能测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆