How to measure utilization of a device with Selenium?

让人想犯罪 __ 提交于 2019-12-24 09:27:19

问题


Does anybody knows whether it is possible to measure utilization of a server CPU with Selenium RC? I need to know service demand on the devise.

Thanks in advance.


回答1:


Since you are extending Selenium's capabilities with RC, you can use your programming language's native ability to measure resource utilization. For instance, in Java, try this




回答2:


Selenium is just for driving the browser. It doesn't have tools for monitoring CPU usage on the server.

However there is a company called Dynatrace that provides tools for doing this. I think they also make it pretty easy to integrate their tools with your extant Selenium scripts. Here's their website: http://www.dynatrace.com/en/



来源:https://stackoverflow.com/questions/5408245/how-to-measure-utilization-of-a-device-with-selenium

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!