diff --git a/bruno/library/browse-folders.yml b/bruno/library/browse-folders.yml new file mode 100644 index 0000000..5b73131 --- /dev/null +++ b/bruno/library/browse-folders.yml @@ -0,0 +1,25 @@ +meta: + name: Browse library folders + type: http + seq: 1 +config: + test: + filter: "response.status == 200" + assertions: + - type: stddev + target: response_time + threshold: 1000 + - type: jsonpath + expression: response.directories + condition: exists + - type: jsonpath + expression: response.current_path + condition: exists + - type: jsonpath + expression: response.parent_path + condition: exists +req: + method: GET + url: "{{base_url}}/api/libraries/browse?path=/tmp" + headers: + Authorization: "Bearer {{ADMIN_TOKEN}}"