How to measure utilization of a device with Seleni

2019-07-29 18:14发布

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.

2条回答
干净又极端
2楼-- · 2019-07-29 18:32

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

查看更多
啃猪蹄的小仙女
3楼-- · 2019-07-29 18:49

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/

查看更多
登录 后发表回答