Skip to content

loadtester allows for the distribution of load tests across numerous computers, making it possible to simulate millions of concurrent users.

Notifications You must be signed in to change notification settings

cirnum/loadtester

Repository files navigation

Scale Your Load Testing Efforts with Loadtester.

Loadtester is a powerful tool that helps you simulate millions of concurrent users by distributing load tests across multiple computers.

Docs | Demo | Help And Support

Install - ref

npm

sudo npm install loadster -g && loadster

Note: In case of permission issue try it with sudo.

Script for linux and macOs versions

curl -sL https://raw.githubusercontent.com/cirnum/loadtester/main/installer/bash/install-loadtester.sh | sudo bash && loadster

binary

https://docs.perfcheck.com/installation#install-with-shell-script

How to Use

Steps:

  1. Install Loadtester on your local machine or server.
  2. Use the intuitive graphical interface to design your load test scenario.
  3. Configure test settings such as the number of virtual users, test duration, and test environment.
  4. Distribute the load test across multiple machines or servers using the Loadtester controller.
  5. Monitor test results in real time using built-in reporting and analysis tools.
  6. Analyze test results to identify performance bottlenecks and optimize your system for maximum scalability.

Try Loadtester today and discover how it can help you improve the performance and scalability of your application or website.

Create server

Note - because of resource limit (CPU, bandwidth) you can configure

as many servers as you can run the test script across all the servers at the same time.

Possible ENV to pass while running the Binary

Env Name Default Description
WORKER false User can run loadtester as a worker or as a Master node
MASTER_IP empty If the user runs the node as a Worker then the worker node can accept the MASTER_IP env which is the actual master ip

To configure the Server with docker ref

  1. docker run -it -p 3005:3005 --platform linux/amd64 manojown1/loadtester:latest (outer port can be changed according to the need.)

Worker setup with docker image

docker run -it -p ANY_AVAILABLE_PORT:3005 -e WORKER=true -e MASTER_IP="YOUR_MAIN_SERVER_IP" --platform linux/amd64 manojown1/loadtester:latest

Download binary ref

1. `Darwin amd64` - For Mac user
2. `Darwin arm64` - For Mac users (new Mac)
3. `Linux amd64` - Linux arch `amd64` users (64-bit system)
4. `Linux arm64` - Linux arch `arm` users (32-bit system)
5. `windows amd64` - Windows Users

Creating the first request

  1. Click on Request tab on header

  2. Fill out the form

  • Url - stress testing target Url

  • Client - Total client wants to initiate - use 100 to 1000 (depends on your cores and cpu)

  • Time - Till the time you want to run these requests

  • Select Method Get Post whatever your stress url serve

AWS integration (Required Env)

Env Name
AWS_ACCESS_KEY
AWS_SECRET_KEY
AWS_REGION

How can I modify the .env file inside a running Docker container?

docker exec -it CONTAINER_ID_OR_NAME vi .env

Request Page

Screenshot 2023-06-20 at 7 29 03 PM

Request Stats - You can check request stats here

Screenshot 2023-06-20 at 7 30 55 PM

AWS section - Create multiple nodes for distributed testing

Screenshot 2023-06-20 at 7 33 53 PM

Check, enable, and disable the connected nodes from the server section

Screenshot 2023-06-20 at 7 35 34 PM