kubeshop / xk6-tracetest

Apache License 2.0
9 stars 2 forks source link

[k6][Extension] Include Binary environment variables #1

Closed xoscar closed 1 year ago

xoscar commented 1 year ago

We need a way to configure the tracetest binary to behave differently depending on the environment variables and flags that are sent to it.

Acceptance criteria: AC1: As a user using the tracetest k6 extension I should be able to choose if I want the observability tests to fail my load tests if any of them fail And this option should be enabled by default

AC2: As a user using the tracetest k6 extension If I want to use the output as a mechanism to trigger tracetest runs I should be able to add the default tracetest server URL for all my load tests

AC3: As a user, I should be able to add flags and environment variables as part of running the load tests to:

  1. Enable feature flags
  2. Enable/disable analytics
  3. Wait for results
  4. Define the default variable name for tests
xoscar commented 1 year ago

@javaducky here's a video showcasing the changes we made for the non-zero status and more https://www.loom.com/share/9d79af725f8441c1990efde61062efd2