Skip to content

Basic HTTP server that responds after a provided delay

Notifications You must be signed in to change notification settings

isner/slow-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slow-server

Basic HTTP server that responds after a provided delay. Useful for testing network-monitoring functionality.

Getting Started

Install dependencies and start the server.

$ npm i
$ npm run start

Make requests to / on port 3000. Use the delay query parameter to define how long the server should wait before responding.

$ curl localhost:3000/?delay=1000
slow-server responded after a 1000ms delay

About

Basic HTTP server that responds after a provided delay

Resources

Stars

Watchers

Forks

Packages

No packages published