mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-13 12:13:42 +01:00
25 lines
289 B
Plaintext
25 lines
289 B
Plaintext
meta {
|
|
name: get-users
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{host}}/api/echo/json
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Accept: application/json
|
|
}
|
|
|
|
script:pre-request {
|
|
// pre-request script in folder request
|
|
bru.setVar("requestVar", "test");
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
}
|