Skip to content

bolzon/locust-loadtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load Test with Locust

This repo has a load test sample using Locust.

It has a sample server and the load test script to run against the server.

Server is written in Node.js and Locust script in Python.

Server

Node.js

Have Node.js (12+) in your machine and type commands below in server-nodejs/ folder.

$ npm install
$ node server.js

.NET Core

Have .NET Core (3.1) in your machine and type commands below in server-netcore/ folder.

$ dotnet run

Loadtest

Have Python (3.6+) installed in your machine, then install Locust using pip.

$ pip install locust

Type command below in loadtest/ folder to start Locust server.

$ locust -f loadtest.py

About

Load Test with Locust and Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published