Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用于压力/性能测试的Selenium网格_Selenium_Selenium Webdriver_Load Testing_Performance Testing_Selenium Grid - Fatal编程技术网

用于压力/性能测试的Selenium网格

用于压力/性能测试的Selenium网格,selenium,selenium-webdriver,load-testing,performance-testing,selenium-grid,Selenium,Selenium Webdriver,Load Testing,Performance Testing,Selenium Grid,我刚开始使用Selenium Grid,所以我对它不太了解。我想做的是模拟400个用户使用我的网站。我可以创建模拟用户操作的测试脚本,但我不确定如何使用Selenium grid一次模拟400个用户使用该网站。任何帮助或有用的教程将不胜感激 目前,我正在使用SeleniumWebDriver和firefox驱动程序模拟一个用户的操作。我所有的测试都是通过eclipse运行的 我认为您正在寻找的是一个网格实现,而不是使用标准的webbrowser。我认为您想要的是通过将GhostDriver注册到

我刚开始使用Selenium Grid,所以我对它不太了解。我想做的是模拟400个用户使用我的网站。我可以创建模拟用户操作的测试脚本,但我不确定如何使用Selenium grid一次模拟400个用户使用该网站。任何帮助或有用的教程将不胜感激


目前,我正在使用SeleniumWebDriver和firefox驱动程序模拟一个用户的操作。我所有的测试都是通过eclipse运行的

我认为您正在寻找的是一个网格实现,而不是使用标准的webbrowser。我认为您想要的是通过将GhostDriver注册到网格节点来进行多线程GhostDriver测试。您可以使用TestNG通过生成类工厂的TestNG实例来分叉线程。

谢谢您的回答,但我最终使用JMeter对我的网站进行了压力测试。当然,您也可以这样做,但这是一种折衷。什么是折衷?在什么意义上?我对此不太了解,所以请原谅我的无知,在某些方面,JMeter使事情变得更容易,但在其他方面它没有。另外,使用JMeter您并不是在测试实际的浏览器,也不是在测试“javascript操作页面”。你输了,因为你只是在测试get/response,所以你的客户并不像真正的客户那样“真正”行动。我还可以指出更多的差异,但评论不是讨论的地方。您可以使用JMeter对应用程序进行压力测试。