bruno/packages/bruno-tests/collection/echo/echo form-url-encoded.bru

24 lines
320 B
Plaintext
Raw Normal View History

meta {
name: echo form-url-encoded
type: http
seq: 9
}
post {
url: {{echo-host}}
body: formUrlEncoded
auth: none
}
body:form-urlencoded {
form-data-key: {{form-data-key}}
}
script:pre-request {
bru.setVar('form-data-key', 'form-data-value');
}
assert {
res.body: eq form-data-key=form-data-value
}