Add hey
This commit is contained in:
parent
15ff08093e
commit
ccce5ae2a1
2 changed files with 18 additions and 0 deletions
11
hey.sh
Executable file
11
hey.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
ulimit -n 10000
|
||||
|
||||
hey \
|
||||
-n 10000 \
|
||||
-c 100 \
|
||||
-q 100 \
|
||||
-m POST \
|
||||
-D hey.sql \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Bearer: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJEQiI6Indpc3F1ZSIsIklEIjoiYmJjZmozYXI1azhnMDBiNnZldGciLCJJUCI6Ijg0LjY0LjU2LjExMSIsIk5TIjoid2lzcXVlIiwiU0MiOiJ1c2VyIiwiVEIiOiJ1c2VyIiwiVEsiOiJkZWZhdWx0IiwiZXhwIjoxNTc0MzgxNDA2LCJpYXQiOjE1NzM3NzY2MDYsImlzcyI6IlN1cnJlYWwiLCJuYmYiOjE1NzM3NzY2MDZ9.qs6rOxgy6qxQnS1I1Z1GDPH86WW17xbSFw7nXXC6Dosmy78Lb34tr6w0dXnLZj4Yos7wfpbjw13jSPwA6LGezA" \
|
||||
http://127.0.0.1:8000/sql
|
7
hey.sql
Normal file
7
hey.sql
Normal file
|
@ -0,0 +1,7 @@
|
|||
SELECT * FROM $auth;
|
||||
|
||||
select * from account;
|
||||
|
||||
select * from item;
|
||||
|
||||
select * from unit WHERE item.account.alias = "charlie";
|
Loading…
Reference in a new issue