diff --git a/hey.sh b/hey.sh new file mode 100755 index 00000000..a81f6b89 --- /dev/null +++ b/hey.sh @@ -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 diff --git a/hey.sql b/hey.sql new file mode 100644 index 00000000..219a795c --- /dev/null +++ b/hey.sql @@ -0,0 +1,7 @@ +SELECT * FROM $auth; + +select * from account; + +select * from item; + +select * from unit WHERE item.account.alias = "charlie";