Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/helloimalemur/slow-server

A test service to mock slow server responses
https://github.com/helloimalemur/slow-server

Last synced: 5 days ago
JSON representation

A test service to mock slow server responses

Awesome Lists containing this project

README

        

# Slow-Server
A test service to mock slow server responses

### Description

**Slow-Server** lets you simulate a slow server response, when you make a request.
This can come handy while testing how your application responds to a slow external service or API.

Right now **Slow-Server** supports only `GET` requests with configurable delay and URL parameters.

### Making Requests

##### Delayed
```bash
curl -XGET http://localhost:3000/delay/{delay_time}
```

### Setup

##### Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

##### Running the app
```bash
git clone https://github.com/helloimalemur/Slow-Server.git;
cd Slow-Server/;
cargo build --release;
target/release/slow_server;
```

### Contributions

For contributing, please raise a pull request with your code and test. You can also contribute by reporting issues and adding feature requests.

### License

This project is available for use under the GNU General Public v3.0 license.