https://github.com/shopware/k6-shopware
E2E Performance Testing with Grafana K6
https://github.com/shopware/k6-shopware
k6 performance shopware
Last synced: 3 months ago
JSON representation
E2E Performance Testing with Grafana K6
- Host: GitHub
- URL: https://github.com/shopware/k6-shopware
- Owner: shopware
- Created: 2024-01-31T18:27:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-02T05:49:16.000Z (5 months ago)
- Last Synced: 2025-06-06T01:07:26.887Z (4 months ago)
- Topics: k6, performance, shopware
- Language: JavaScript
- Homepage: https://developer.shopware.com/docs/guides/hosting/performance/k6.html
- Size: 136 KB
- Stars: 16
- Watchers: 10
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grafana K6 with Shopware
This repository contains helpers and an example scenario to run K6 against a Shopware Shop.
> [!NOTE]
> Headless use-cases are right now not implemented## Requirements
- Bun
- K6## 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 example 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.
## For more information
See the [K6 documentation](https://k6.io/docs/) or the [Shopware Documentation](https://developer.shopware.com/docs/guides/hosting/performance/k6.html).