Project Number Date
REST POST Example(test) 684807e4-54a2-467b-bf8a-bcc222b31f8c 06 Mar 2022, 21:22

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@endpoint 8 0 0 0 0 8 1 0 1 0.440 Passed
0.440
Before io.virtualan.cucumblan.core.BaseStepDefinition.before(io.cucumber.java.Scenario) 0.000
Before io.virtualan.cucumblan.core.DBBaseStepDefinition.before(io.cucumber.java.Scenario) 0.000
Before io.virtualan.cucumblan.core.MsgBaseStepDefinition.before(io.cucumber.java.Scenario) 0.000
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 /riskfactor/compute resource on endpoint 0.345
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/riskfactor/compute",
    "context": {"STATUS_CODE": "201"},
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 200 0.000
{"STATUS_CODE": "200"}
And verify api response with 65 includes in the response 0.000
And store the . value of the key as riskFactor 0.015
And evaluate the [riskFactor]=65 condition success 0.078

Success condition :[riskFactor]=65 >>> status true