Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/helloimalemur/slow-server
- Owner: helloimalemur
- License: gpl-3.0
- Created: 2023-11-27T16:33:27.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2023-11-30T16:09:37.000Z (12 months ago)
- Last Synced: 2023-12-01T04:27:52.588Z (12 months ago)
- Language: Rust
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.