shopware / k6-shopware

13 stars 3 forks source link

Grafana K6 with Shopware

This repository contains helpers and a example sceneario to run K6 against a Shopware Shop.

Requirements

Usage

Create an .env file with your Shopware Shop Credentials. See .env.example for reference.

First install the npm packages bun install

Run bun run fetch-fixtures.ts to fetch seo-urls, the sales channel from external.

Run k6 run example.js to run the example scenario. The exaxmple scenario will create a new customer, add a product to the cart and checkout the cart.

You can adjust with -u USERS --iterations ITERATORS how often this and parallel this scenario should run.