Skip to content

K6 Load Tests Create RequestID #9

K6 Load Tests Create RequestID

K6 Load Tests Create RequestID #9

Workflow file for this run

name: K6 Load Tests
on:
workflow_dispatch:
inputs:
script:
type: choice
default: 'step1-5_user_oi_idp.js'
options:
- step1-5_user_oi_idp.js
- IdP_keys.js
- All_IdP.js
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- warning
jobs:
performance-tests:
runs-on: ubuntu-latest
env:
K6_BROWSER_ENABLED: false
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup k6
uses: grafana/setup-k6-action@v1
- name: Run k6 test
uses: grafana/run-k6-action@v1
with:
path: |
./src/${{ inputs.script }}
- name: Upload Report
uses: actions/upload-artifact@v4
with:
name: k6-browser-report-summary
path: TestSummaryReport.html