PHPackages                             spryker/commerce-k6-performance-tests - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. spryker/commerce-k6-performance-tests

ActiveLibrary[Testing &amp; Quality](/categories/testing)

spryker/commerce-k6-performance-tests
=====================================

K6 performance tests

7532[3 PRs](https://github.com/spryker/commerce-k6-performance-tests/pulls)JavaScript

Since Jul 20Pushed 2w ago31 watchersCompare

[ Source](https://github.com/spryker/commerce-k6-performance-tests)[ Packagist](https://packagist.org/packages/spryker/commerce-k6-performance-tests)[ RSS](/packages/spryker-commerce-k6-performance-tests/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (15)Used By (0)

Spryker Performance Testing Framework
=====================================

[](#spryker-performance-testing-framework)

This project contains performance tests for the Spryker Commerce applications using K6.

Prerequisites
-------------

[](#prerequisites)

- Node.js &amp; NPM
- Docker &amp; Docker Compose

Setup
-----

[](#setup)

1. Clone the repository:

    ```
    git clone
    cd commerce-k6-performance-tests
    ```
2. Install dependencies:

    ```
    npm install
    ```
3. Create a `.env` file based on the provided `.env.local.example`:

    ```
    cp .env.local.example .env
    ```
4. Update the `.env` file with the required environment variables.

Scripts
-------

[](#scripts)

### Build

[](#build)

- Build all tests:

    ```
    npm run webpack:build
    ```
- Build specific test patterns:

    ```
    npm run webpack:build --tags=cart-reorder
    npm run webpack:build --tags=cart,load
    ...
    ```

### Docker

[](#docker)

- Start Docker services:

    ```
    npm run docker:up
    ```
- Stop Docker services:

    ```
    npm run docker:down
    ```
- Run tests in Docker:

    ```
    npm run docker:run
    ```

### Linting and Formatting

[](#linting-and-formatting)

- Check code formatting:

    ```
    npm run prettier:check
    ```
- Fix code formatting:

    ```
    npm run prettier:write
    ```
- Lint code:

    ```
    npm run lint
    ```

Running Tests
-------------

[](#running-tests)

1. Build the tests:

    ```
    npm run webpack:build
    ```
2. Start Docker services:

    ```
    npm run docker:up
    ```
3. Run the tests:

    ```
    npm run docker:run
    ```
4. Stop Docker services:

    ```
    npm run docker:down
    ```

Configuration
-------------

[](#configuration)

### Environment Variables

[](#environment-variables)

- `K6_HOSTENV`: Environment for K6 (default: `local`)
- `K6_NO_THRESHOLDS`: Disable thresholds (default: `true`)
- `SPRYKER_REPOSITORY_ID`: Repository ID (default: `suite`)
- `SPRYKER_TEST_TYPE`: Test type (default: `smoke`)

Project Structure
-----------------

[](#project-structure)

- `src/tests`: Contains test files
- `src/utils`: Utility functions
- `src/resources`: API resource files
- `src/pages`: Page objects
- `src/fixtures`: Test data fixtures
- `dist`: Compiled test files

Using Grafana
-------------

[](#using-grafana)

Grafana is used to visualize the performance test results.

1. Start the Docker services:

    ```
    npm run docker:up
    ```
2. Open Grafana in your browser:

    ```
    http://localhost:3000

    ```
3. Navigate to the dashboards to view the performance metrics.

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance63

Regular maintenance activity

Popularity15

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10738957?v=4)[Spryker Bot](/maintainers/spryker-bot)[@spryker-bot](https://github.com/spryker-bot)

---

Top Contributors

[![dmiseev](https://avatars.githubusercontent.com/u/32021063?v=4)](https://github.com/dmiseev "dmiseev (107 commits)")[![ilyakubanov](https://avatars.githubusercontent.com/u/45764294?v=4)](https://github.com/ilyakubanov "ilyakubanov (47 commits)")[![bohdanyevtukhov](https://avatars.githubusercontent.com/u/95641951?v=4)](https://github.com/bohdanyevtukhov "bohdanyevtukhov (41 commits)")[![eduard-melnytskyi](https://avatars.githubusercontent.com/u/85733087?v=4)](https://github.com/eduard-melnytskyi "eduard-melnytskyi (17 commits)")[![floriankraemer](https://avatars.githubusercontent.com/u/4996022?v=4)](https://github.com/floriankraemer "floriankraemer (15 commits)")[![ievgen-malykhin](https://avatars.githubusercontent.com/u/80347519?v=4)](https://github.com/ievgen-malykhin "ievgen-malykhin (10 commits)")[![AsonUnique](https://avatars.githubusercontent.com/u/20453760?v=4)](https://github.com/AsonUnique "AsonUnique (10 commits)")[![sakharova-yuliia](https://avatars.githubusercontent.com/u/62552852?v=4)](https://github.com/sakharova-yuliia "sakharova-yuliia (5 commits)")[![valerio8787](https://avatars.githubusercontent.com/u/2435693?v=4)](https://github.com/valerio8787 "valerio8787 (4 commits)")[![matweew](https://avatars.githubusercontent.com/u/454530?v=4)](https://github.com/matweew "matweew (2 commits)")[![olhalivitchuk](https://avatars.githubusercontent.com/u/77281282?v=4)](https://github.com/olhalivitchuk "olhalivitchuk (1 commits)")[![spryker-release-bot](https://avatars.githubusercontent.com/u/26904324?v=4)](https://github.com/spryker-release-bot "spryker-release-bot (1 commits)")[![asmarovydlo](https://avatars.githubusercontent.com/u/15832795?v=4)](https://github.com/asmarovydlo "asmarovydlo (1 commits)")

### Embed Badge

![Health badge](/badges/spryker-commerce-k6-performance-tests/health.svg)

```
[![Health](https://phpackages.com/badges/spryker-commerce-k6-performance-tests/health.svg)](https://phpackages.com/packages/spryker-commerce-k6-performance-tests)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)[gong023/assert_chain

enable you to use phpunit assert with method chain

1478.9k3](/packages/gong023-assert-chain)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
