Add a 'ps' task to stressor
Project description
stressor-ps
Stressor plugin that adds memory, cpu, and hardware testing functionality
Usage
The whole stressor confiuration is stored in a single YAML file with a few attributes and five mandatory sections.
See also:
See the annotated :doc:ug_sample_stressor_yaml
for an example.
Activities
Common Args
All activites share these common arguments
(see also :class:~stressor.plugins.base.ActivityBase
).
'PsAlloc' Activity
sequences:
main:
# 'init' is the reserved name for the set-up sequence.
- activity: PsAlloc
allocate_mb: 1000
per_session: true
allocate_mb (float, default: **) Check if the response has HTML format and matches an XPath expression::
- activity: GetRequest
url: /
assert_html:
"//*[@class='logo']": true
(See also the common ``assert_match`` argument.)
per_session (bool, default: false)
Macros
This extension does not implement new macros.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stressor-ps-0.0.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for stressor_ps-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23489776ff4532b0124f8fa2398ba62172e0eac33286913756ae99092d15132 |
|
MD5 | 0098ca9a8b0334d7c51ed46138cfc53b |
|
BLAKE2b-256 | 1906a9880c5fe2be1d02426ea30b2b43a7f386f2c6eeab27739478adbd995c7e |