Skip to content

AndyM1H/nestjs-load-testing-jmeter

Repository files navigation

Description

A simple NestJS app for load testing sample data

Installation

$ npm install

Running the database

$ docker compose up -d

To view the database collections, you can go to: localhost:8081

Add random users data

$ npx nestjs-command create:user <userNumber>

Example:

$ npx nestjs-command create:user 10000

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Load Testing

Apache Jmeter

The finished load test specimen is placed in ./test/loadtesting/LoadTest Plan.jmx

The results of the load tests can be viewed in ./test/loadtesting/results

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published