dryvPacks

@dryv/k6-smoke-testsv0.1.0

k6 HTTP smoke/load script generated from canonical effective routes.

k6 Smoke TestsTestingUnitPublished 7 days ago2 downloads

dryv pack add @dryv/k6-smoke-tests
852 BRaw ↗
yaml
version: dryv.pack/v1alpha1
key: unit.testing.k6-smoke-tests
layout: unit
package:
  name: dryv-k6-smoke

source: templates

info:
  title: k6 Smoke Tests
  version: 0.1.0
  description: Generates a runnable k6 smoke suite from Dryv HTTP operations and declared success statuses.

  purpose: testing
  summary: k6 HTTP smoke/load script generated from canonical effective routes.
  languages: [javascript]
  frameworks: [k6]
  tags: [testing, http, smoke, load, k6]

plugins:
  - name: jinja
    extensions: [.j2]

inputs:
  base_url:
    type: string
    default: http://localhost:3000
    description: Default base URL used unless BASE_URL is supplied to k6.

selections:
  operations:
    subject: operation
    filter:
      all: { facet: http }
    scope: all

templates:
  suite:
    $ref: "#/selections/operations"
    output:
      name: smoke