How to measure utilization of a device with Seleni

2019-07-29 17:48发布

问题:

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/