UNPKG

k6-cucumber-steps

Version:

Cucumber step definitions for running k6 performance tests.

1 lines 1.5 kB
{"list":[{"title":"delay","link":"<a href=\"global.html#delay\">delay</a>","description":"<p>Introduce a delay in milliseconds.</p>"},{"title":"generateK6Script","link":"<a href=\"global.html#generateK6Script\">generateK6Script</a>","description":"<p>Generates a temporary k6 script file.</p>"},{"title":"module:generateHeaders","link":"<a href=\"module-generateHeaders.html\">generateHeaders</a>","description":"<p>This module generates HTTP headers for API requests based on the specified authentication type.\nIt supports API key, bearer token, basic authentication, and no authentication.\nGenerates HTTP headers based on the specified authentication type.\nSupported auth types: api_key, bearer_token, basic, none.</p>"},{"title":"module:resolveBody","link":"<a href=\"module-resolveBody.html\">resolveBody</a>","description":"<p>This module resolves placeholders in a template string using environment variables,\nFaker templates, and JSON file includes.\nIt supports the following types of placeholders:</p>\n<ol>\n<li>Environment variables: {{username}} will be replaced with the value of process.env.username.</li>\n<li>Faker templates: {{faker.internet.email}} will be replaced with a randomly generated email address.</li>\n<li>JSON file includes: &lt;address.json&gt; will be replaced with the contents of the address.json file.</li>\n</ol>"},{"title":"runK6Script","link":"<a href=\"global.html#runK6Script\">runK6Script</a>","description":"<p>Runs the k6 script with custom branding.</p>"}]}