Skip to main content

Run Gabbi Tests as Tempest Plugin

Project description

Gabbi-tempest is a Tempest plugin that enables testing the APIs of running OpenStack services, integrated with tempest but without needing to write Python. Instead the YAML format provided by gabbi is used to write and evaluate HTTP requests and responses.

Tests are placed in YAML files in one or more directories. Those directories are added to a GABBI_TEMPEST_PATH environment variable. When that variable is passed into a tempest test runner that is aware of the gabbi plugin, the files on that path will be used to create tempests tests.

The test harness sets a series of enviornment variables that can be used in the YAML to reach the available services. The available variables may be extended in two ways:

  • Adding them to the environment that calls tempest if the values are known.

  • Setting them in a subclass of the plugin if the values need to be calculated from what tempest knows.

For each service in the service catalog there are <SERVICE_TYPE>_SERVICE and <SERVICE_TYPE>_BASE variables (e.g., PLACEMENT_SERVICE and PLACEMENT_BASE). A useful SERVICE_TOKEN, IMAGE_REF, FLAVOR_REF and FLAVOR_REF_ALT are also available.

Read the docs at https://gabbi-tempest.readthedocs.io/

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

gabbi-tempest-0.2.2.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

gabbi_tempest-0.2.2-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gabbi-tempest-0.2.2.tar.gz.

File metadata

  • Download URL: gabbi-tempest-0.2.2.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for gabbi-tempest-0.2.2.tar.gz
Algorithm Hash digest
SHA256 0f30bc9211d44379659ea051219422247b53942e8122addef08124d46d38abbd
MD5 6860d850b6e186ce718fd09b9dac8bd6
BLAKE2b-256 37020884f8da12e46431374a902626d196858329553e198658cc77cb25f9109f

See more details on using hashes here.

File details

Details for the file gabbi_tempest-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for gabbi_tempest-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 90148c5221b126986798495fa0e04f6f2d2ac0737aa72f54ae3dcb958707b2a7
MD5 8a0325e0b4aead0bb5a4d44615d0166e
BLAKE2b-256 f716e594e1bdc052c55c44ce216db0c388e755913737e351ce9ff992a31cc644

See more details on using hashes here.

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