https://github.com/piecioshka/makiwara
๐จ Test URL to gain HTTP response limits in time thresholds
https://github.com/piecioshka/makiwara
cli http load-testing stress-testing
Last synced: 22 days ago
JSON representation
๐จ Test URL to gain HTTP response limits in time thresholds
- Host: GitHub
- URL: https://github.com/piecioshka/makiwara
- Owner: piecioshka
- Created: 2017-12-16T10:00:27.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2026-06-09T12:02:10.000Z (29 days ago)
- Last Synced: 2026-06-09T14:05:16.760Z (29 days ago)
- Topics: cli, http, load-testing, stress-testing
- Language: JavaScript
- Homepage:
- Size: 1.06 MB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# makiwara
[](#cli)
[](https://www.npmjs.com/package/makiwara)
[](https://badge.fury.io/js/makiwara)
[](https://www.npmjs.com/package/makiwara)
[](https://packagephobia.com/result?p=makiwara)
[](https://piecioshka.mit-license.org)
[](https://github.com/piecioshka/makiwara/actions/workflows/testing.yml)
๐จ CLI to benchmark URL to gain HTTP requests limits
## Usage
Installation:
```bash
npm install makiwara
```
```javascript
const { benchmark } = require('makiwara');
benchmark('https://example.org', [1, 5, 10], 'sequence')
.then((result) => {
console.log(result);
})
.catch((err) => {
console.log(err);
});
```
## CLI
Installation:
```bash
npm install -g makiwara
```
```bash
makiwara --help
```
```text
Usage: cli [options]
Example:
makiwara -u https://localhost:3000 -t 10 -s sequence
Options:
-V, --version output the version number
-u, --url Define URL to benchmark. Ex. https://example.org/
-t, --timelimit [numbers] Define list of time thresholds (in seconds). Ex. 10,100,1000
-s, --strategy Define strategy for making requests
-h, --help output usage information
```
## Example
```bash
makiwara -u https://example.org -t 1,5 -s sequence
```
Result:
```text
โโโโโโโโโโโโโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HTTP Status Code โ Requests quantity โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโข
โ 200 OK โ 3 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Type โ Sequence โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโข
โ Effective Duration โ 1.456 seconds โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโข
โ Times โ 3 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
----------------------------------------------------
โโโโโโโโโโโโโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HTTP Status Code โ Requests quantity โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโข
โ 200 OK โ 10 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Type โ Sequence โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโข
โ Effective Duration โ 5.399 seconds โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโข
โ Times โ 10 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
## License
[The MIT License](https://piecioshka.mit-license.org) @ 2017