mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 14:35:03 +00:00
In bruno-testbench(packages/bruno-tests) server - Added support for customising response status-code in `POST /api/echo/custom` API using `statusCode` field - Added `/api/echo/trace` API which returns all the request details as an JSON response - Added SSL support for `localhost` in dev env to test HTTPS requests
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
vars {
|
|
host: {{local_host}}
|
|
host_http: {{local_host_http}}
|
|
httpfaker: {{host}}
|
|
local_http_port: 8081
|
|
local_https_port: 8082
|
|
local_host: https://localhost:{{local_https_port}}
|
|
local_host_http: http://localhost:{{local_http_port}}
|
|
remote_host: https://testbench-sanity.usebruno.com
|
|
remote_host_http: http://testbench-sanity.usebruno.com
|
|
bearer_auth_token: your_secret_token
|
|
basic_auth_password: della
|
|
env.var1: envVar1
|
|
env-var2: envVar2
|
|
bark: {{process.env.PROC_ENV_VAR}}
|
|
foo: bar
|
|
testSetEnvVar: bruno-29653
|
|
echo-host: https://echo.usebruno.com
|
|
client_id: client_id_1
|
|
client_secret: client_secret_1
|
|
auth_url: http://localhost:8080/api/auth/oauth2/authorization_code/authorize
|
|
callback_url: http://localhost:8080/api/auth/oauth2/authorization_code/callback
|
|
access_token_url: http://localhost:8080/api/auth/oauth2/authorization_code/token
|
|
passwordCredentials_username: foo
|
|
passwordCredentials_password: bar
|
|
github_authorize_url: https://github.com/login/oauth/authorize
|
|
github_access_token_url: https://github.com/login/oauth/access_token
|
|
google_auth_url: https://accounts.google.com/o/oauth2/auth
|
|
google_access_token_url: https://accounts.google.com/o/oauth2/token
|
|
google_scope: https://www.googleapis.com/auth/userinfo.email
|
|
}
|
|
vars:secret [
|
|
github_client_secret,
|
|
github_client_id,
|
|
google_client_id,
|
|
google_client_secret,
|
|
github_authorization_code,
|
|
passwordCredentials_access_token,
|
|
client_credentials_access_token,
|
|
authorization_code_access_token,
|
|
github_access_token
|
|
]
|