Skip to content

Keystore

This tasks sets and gets values from a distributed keystore. This makes is possible to share values between scenarios.

Retreived (get) values are rendered before setting the variable. Stored (set) values are not rendered, so it is possible to store templates.

Step implementations

Statistics

This task only has request statistics entry, of type KEYS, if a key (without default_value) that does not have a value set is retrieved.

Arguments

  • key str: name of key in keystore

  • action Action: literal set or get

  • action_context str | Any: when action is get it must be a str (variable name), for set any goes (as long as it is json serializable and not None)

  • default_value Any | None: used when action is get and key does not exist in the keystore