Skip to content

rochabey/sbqa-performance-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbqa-performance-test

Installation & Configuration

Prerequisites

1. Install Node.js

Ensure you have Node.js installed, as it may be used for additional dependencies or scripts. [Node.js Download](https://nodejs.org/en)

2. Install k6

You can install k6 using Homebrew (macOS), Chocolatey (Windows), or download it directly.

On macOS:

brew install k6

On Windows:

choco install k6

3. Install `dotenv-cli`

To load environment variables before running your K6 script. ```bash npm install -g dotenv-cli ```

Installation

Setup sbqa-performance-test test-suites by cloning from github repository

git clone [email protected]:rochabey/sbqa-performance-test.git

Install project dependent packages

npm install

Configuration

Environment Variables:

If your test scripts require environment variables, create a .env file in the root directory and add your variables there.

k6 Options:

You can configure options like duration and virtual users in each k6 test script or directly in the CLI

Running Tests

To run the performance script

npm run run:perf

Related Links

sbqa-performance-test

Node.js Download

Grafana k6 Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published