Given
a user perform a api action
0.000
And
add request with given header params
0.000
contentType |
application/json |
And
create api with given input
0.000
birthday |
1918-10-24 |
postalCode |
60563 |
{
"birthday": "1918-10-24",
"postalCode": "60563"
}
When
a user post application/json in /api/riskfactor/compute resource on api
0.213
{
"AcceptContentType": "application/json",
"resource": "https://live.virtualandemo.com/api/riskfactor/compute",
"context": {
"STATUS_CODE": "200",
"id": "xzwbqgap18"
},
"url": "https://live.virtualandemo.com"
}
Then
the status code is 200
0.000
{
"STATUS_CODE": "200",
"id": "xzwbqgap18"
}
And
verify api response with 65 includes in the response
0.000
And
store the . value of the key as riskFactor
0.000
And
evaluate the [riskFactor]=65 condition success
0.080
Output 1
Success condition :[riskFactor]=65 >>> status true