robotframework-perfmon
Robot Framework wrapper for pyperfmon, provides a simple way to collect windows performance monitor (perfmon) counter statistics from a windows machine, usually the AUT servers.
Installation
pip install robotframework-perfmon
Example Usage
Simple example usage:
*** Settings ***
Library PerfmonLibrary
*** Variables ***
${AUTServer} MyAUTServer
*** Test Cases ***
Check Memory
${mempct}= Get Counter Memory\\% Committed Bytes In Use ${AUTServer}
Should Be True ${mempct[1]} < 80
Check CPU
${cputotpct}= Get Counter Processor\\_Total\\% Processor Time ${AUTServer}
Should Be True ${cputotpct[1]} < 80
Keyword Documentation
| Keyword | Description |
|---|---|
| Connect To | Establishes a connection to a remote windows machine. The most likely reasons for using this keyword are: - You need to use different credentials to connect to the remote windows machine - You want to avoid the connection time overhead on reading the first performance counter All arguments are optional with the default values used if omitted - hostname the windows machine to connect to. Default: localhost - username the windows user to connect with, when specifying a domain you will need to escape the \ as \\. Default: current logged in user. - password the password for the specified windows user. If username no specified password is not used. Default: None example usage: Connect To hostname domnain\\username password Connect To hostname It is suggested to use this keyword in Suite setup |
| Get Counter | Get the performance monitor counter's value, the value is returned as a tuple of ('counterpath', value) counterpath argument is required, hostname argument is optional with the default value used if omitted - counterpath the path to the windows performance counter, can be in either format <object>\\<counter> or <object>\\<instance>\\<counter> - hostname the windows machine to connect to. Default: localhost |
| Get Objects | Get a list of available performance monitor counter objects All arguments are optional with the default values used if omitted - hostname the windows machine to connect to. Default: localhost |
| Get Counters | Get a list of available performance monitor counters for specified object object argument is required, hostname argument is optional with the default value used if omitted - object the object to get a list of windows performance counters for. - hostname the windows machine to connect to. Default: localhost |
Metadata
Release files for robotframework-perfmon 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-perfmon-0.1.tar.gz | 15.3 kB | Without provenance | Details for robotframework-perfmon-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robotframework_perfmon-0.1-py3-none-any.whl | Python 3 | none | any | Details for robotframework_perfmon-0.1-py3-none-any.whl |
Total release size: 30.8 kB
Release files / robotframework-perfmon-0.1.tar.gz
| Download URL | robotframework-perfmon-0.1.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b658acd486256e773a7f14d7eaf2dd920958d9e3aaa4487c1a1cdb971a141e3
|
|
BLAKE2b-256 checksum How to use checksums |
2af4cc67ad9ba7a8022d1c59ccddcdbc59a99938fa4af9aaa1de166fcfec7379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.10
|
Release files / robotframework_perfmon-0.1-py3-none-any.whl
| Download URL | robotframework_perfmon-0.1-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d813ba31658d572c2eb708c26e3f56c93080c7baf13cd6f91344fce7c71b670b
|
|
BLAKE2b-256 checksum How to use checksums |
b9d87e620802326e849a872fd9050ac0399e8dbc9b827473c8e774d12a3561a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.10
|
Security for robotframework-perfmon 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.