Added API Tests
This commit is contained in:
40
API Tests/BGApp/opencollection.yml
Normal file
40
API Tests/BGApp/opencollection.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
opencollection: 1.0.0
|
||||
|
||||
info:
|
||||
name: BGApp
|
||||
config:
|
||||
proxy:
|
||||
inherit: true
|
||||
config:
|
||||
protocol: http
|
||||
hostname: ""
|
||||
port: ""
|
||||
auth:
|
||||
username: ""
|
||||
password: ""
|
||||
bypassProxy: ""
|
||||
|
||||
request:
|
||||
auth:
|
||||
type: bearer
|
||||
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJlalJlIiwiY2xhaW1zIjpbIkFETUlOIiwiVVNFUlNfQ1JFQVRFIiwiVVNFUlNfU0VMRl9SRUFEIiwiVVNFUlNfU0VMRl9VUERBVEUiLCJVU0VSU19TRUxGX0RFTEVURSIsIlVTRVJTX09USEVSX1JFQUQiLCJVU0VSU19PVEhFUl9VUERBVEUiXSwiaWF0IjoxNzcxNjE4NTQzLCJleHAiOjE4MDMxNTQ1NDN9.R-3Qb5CEcLJBSt7DnsO9b0IGRVYDIZuFfH1m9TikVXU
|
||||
actions:
|
||||
- type: set-variable
|
||||
phase: after-response
|
||||
selector:
|
||||
expression: ${token}
|
||||
method: jsonq
|
||||
variable:
|
||||
name: Token
|
||||
scope: runtime
|
||||
disabled: true
|
||||
bundled: false
|
||||
extensions:
|
||||
bruno:
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
presets:
|
||||
request:
|
||||
type: http
|
||||
url: http://localhost:3000/api/
|
||||
Reference in New Issue
Block a user