Skip to main content

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


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)

Uploaded Source

Built Distribution

stressor_ps-0.0.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page