hurl/integration/tests_ok/variables.hurl

25 lines
449 B
Plaintext
Raw Normal View History

2021-01-09 12:25:01 +03:00
POST http://localhost:8000/variables
2021-09-10 18:35:23 +03:00
Name: {{name}}
Age: {{age}}
Height: {{height}}
Female: {{female}}
Id: {{my-id}}
A_Null: {{a_null}}
2021-01-09 12:25:01 +03:00
{
"name": "{{name}}",
"age": {{age}},
2021-02-25 22:33:14 +03:00
"height": {{height}},
"female": {{female}},
2021-09-10 18:35:23 +03:00
"id": "{{my-id}}",
2021-02-25 22:33:14 +03:00
"a_null": {{a_null}}
2021-01-09 12:25:01 +03:00
}
2021-02-25 22:33:14 +03:00
HTTP/* 200
[Asserts]
variable "name" == "Jennifer"
variable "female" == true
variable "age" == 30
variable "height" == 1.70
variable "a_null" == null
variable "my-id" == "123"