This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
db: | |
image: mysql | |
restart: always | |
ports: | |
- 3306:3306 | |
- 33060:33060 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat run.txt | parallel "siege -b -c255 -t30S --content-type "application/json" {}" | |
cat run.txt | parallel "ab -n 100 -c 100 {}" | |
run.txt ->>> | |
https://www.example.com/ | |
https://www.example.com/entity/ | |
.... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. open swagger url | |
// 2. paste into console | |
// 3. execute | |
document.querySelectorAll(".endpoint").forEach(function(e) { | |
let method = e | |
.querySelector(".http_method > .toggleOperation") | |
.textContent.toUpperCase(); | |
let path = e.querySelector(".path > .toggleOperation").textContent; | |
let result = method + " " + path; |