mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-29 03:13:45 +01:00
43 lines
434 B
Plaintext
43 lines
434 B
Plaintext
meta {
|
|
name: echo bigint
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
post {
|
|
url: {{host}}/api/echo/json
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
foo: bar
|
|
}
|
|
|
|
auth:basic {
|
|
username: asd
|
|
password: j
|
|
}
|
|
|
|
auth:bearer {
|
|
token:
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"hello": 990531470713421825
|
|
}
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
}
|
|
|
|
script:pre-request {
|
|
bru.setVar("foo", "foo-world-2");
|
|
}
|
|
|
|
tests {
|
|
// todo: add tests once lossless json echo server is ready
|
|
}
|