nix(feat): Add postgrest-loadtest

This commit is contained in:
Wolfgang Walther
2021-11-27 10:57:29 +01:00
committed by Wolfgang Walther
parent ab90bd24e0
commit 32ff9dfb48
11 changed files with 283 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
GET http://postgrest/
Prefer: tx=commit
HEAD http://postgrest/actors?actor=eq.1
Prefer: tx=commit
GET http://postgrest/actors?select=*,roles(*,films(*))
Prefer: tx=commit
POST http://postgrest/films?columns=title
Prefer: tx=rollback
@post.json
PUT http://postgrest/actors?actor=eq.1&columns=name
Prefer: tx=rollback
@put.json
PATCH http://postgrest/actors?actor=eq.1
Prefer: tx=rollback
@patch.json
DELETE http://postgrest/roles
Prefer: tx=rollback
GET http://postgrest/rpc/call_me?name=John
POST http://postgrest/rpc/call_me
@rpc.json
OPTIONS http://postgrest/actors