Project Number Date
Lakeside Mutual - Customer Self-Service - API alone - VIRTUALAN(test-virtualan-collection) 54d3f565-07f4-4b81-88bf-361cc0f18bd4 06 Mar 2022, 20:40

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@api 23 0 0 0 0 23 4 0 4 0.693 Passed
Feature: Examples
Tags: @examples @api
0.241
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
When a user get application/json in /api/persons/bgates resource on api 0.239
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/persons/bgates",
    "context": {
        "firstname": "Max",
        "city": "Rapperswil",
        "postalCode": "8640",
        "STATUS_CODE": "200",
        "insuranceType": "Life Insurance",
        "quoteId": "448",
        "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
        "lastname": "Mustermann",
        "expiryDate": "2023-03-06T20:40:13",
        "password": "xxxxxxxxxxxx",
        "rejectQuoteId": "457",
        "streetAddress": "Oberseestrasse 10",
        "customerId": "rgpp0wkpec",
        "email": "admin@example.com",
        "startDate": "2022-03-06"
    },
    "url": "https://live.virtualandemo.com"
}
Then the status code is 200 0.000
{
    "firstname": "Max",
    "city": "Rapperswil",
    "postalCode": "8640",
    "STATUS_CODE": "200",
    "insuranceType": "Life Insurance",
    "quoteId": "448",
    "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
    "lastname": "Mustermann",
    "expiryDate": "2023-03-06T20:40:13",
    "password": "xxxxxxxxxxxx",
    "rejectQuoteId": "457",
    "streetAddress": "Oberseestrasse 10",
    "customerId": "rgpp0wkpec",
    "email": "admin@example.com",
    "startDate": "2022-03-06"
}
And verify api response csvson includes exact-match in the response 0.000
dateOfBirth,firstName,lastName,lastTimeOnline,spokenLanguages/additionalProp1:additionalProp3:additionalProp2,username
1955-10-28,Bill,Gates,2020-08-30T20:28:36.267Z,Tamil:Spanish:English,bgates
[{"dateOfBirth":"1955-10-28","firstName":"Bill","lastName":"Gates","lastTimeOnline":"2020-08-30T20:28:36.267Z","spokenLanguages":{"additionalProp1":"Tamil","additionalProp3":"Spanish","additionalProp2":"English"},"username":"bgates"}]
{"firstName":"Bill","lastName":"Gates","lastTimeOnline":"2020-08-30T20:28:36.267Z","dateOfBirth":"1955-10-28","spokenLanguages":{"additionalProp1":"Tamil","additionalProp3":"Spanish","additionalProp2":"English"},"username":"bgates"}
Feature: Examples
Tags: @examples @api
0.136
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
When a user get application/json in /api/persons/bgates resource on api 0.134
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/persons/bgates",
    "context": {
        "firstname": "Max",
        "city": "Rapperswil",
        "postalCode": "8640",
        "STATUS_CODE": "200",
        "insuranceType": "Life Insurance",
        "quoteId": "448",
        "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
        "lastname": "Mustermann",
        "expiryDate": "2023-03-06T20:40:13",
        "password": "xxxxxxxxxxxx",
        "rejectQuoteId": "457",
        "streetAddress": "Oberseestrasse 10",
        "customerId": "rgpp0wkpec",
        "email": "admin@example.com",
        "startDate": "2022-03-06"
    },
    "url": "https://live.virtualandemo.com"
}
Then the status code is 200 0.000
{
    "firstname": "Max",
    "city": "Rapperswil",
    "postalCode": "8640",
    "STATUS_CODE": "200",
    "insuranceType": "Life Insurance",
    "quoteId": "448",
    "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
    "lastname": "Mustermann",
    "expiryDate": "2023-03-06T20:40:13",
    "password": "xxxxxxxxxxxx",
    "rejectQuoteId": "457",
    "streetAddress": "Oberseestrasse 10",
    "customerId": "rgpp0wkpec",
    "email": "admin@example.com",
    "startDate": "2022-03-06"
}
And verify api response csvson includes exact-order-match in the response 0.000
dateOfBirth,lastName,firstName,lastTimeOnline,spokenLanguages/additionalProp1:additionalProp3:additionalProp2
1955-10-28,Gates,Bill,2020-08-30T20:28:36.267Z,Tamil:Spanish:English
[{"dateOfBirth":"1955-10-28","lastName":"Gates","firstName":"Bill","lastTimeOnline":"2020-08-30T20:28:36.267Z","spokenLanguages":{"additionalProp1":"Tamil","additionalProp3":"Spanish","additionalProp2":"English"}}]
{"firstName":"Bill","lastName":"Gates","lastTimeOnline":"2020-08-30T20:28:36.267Z","dateOfBirth":"1955-10-28","spokenLanguages":{"additionalProp1":"Tamil","additionalProp3":"Spanish","additionalProp2":"English"},"username":"bgates"}
Feature: Examples
Tags: @examples @api
0.137
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
When a user get application/json in /api/persons/bgates resource on api 0.135
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/persons/bgates",
    "context": {
        "firstname": "Max",
        "city": "Rapperswil",
        "postalCode": "8640",
        "STATUS_CODE": "200",
        "insuranceType": "Life Insurance",
        "quoteId": "448",
        "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
        "lastname": "Mustermann",
        "expiryDate": "2023-03-06T20:40:13",
        "password": "xxxxxxxxxxxx",
        "rejectQuoteId": "457",
        "streetAddress": "Oberseestrasse 10",
        "customerId": "rgpp0wkpec",
        "email": "admin@example.com",
        "startDate": "2022-03-06"
    },
    "url": "https://live.virtualandemo.com"
}
Then the status code is 200 0.000
{
    "firstname": "Max",
    "city": "Rapperswil",
    "postalCode": "8640",
    "STATUS_CODE": "200",
    "insuranceType": "Life Insurance",
    "quoteId": "448",
    "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
    "lastname": "Mustermann",
    "expiryDate": "2023-03-06T20:40:13",
    "password": "xxxxxxxxxxxx",
    "rejectQuoteId": "457",
    "streetAddress": "Oberseestrasse 10",
    "customerId": "rgpp0wkpec",
    "email": "admin@example.com",
    "startDate": "2022-03-06"
}
And verify api response csvson includes in the response 0.000
dateOfBirth,firstName,lastName,lastTimeOnline,spokenLanguages/additionalProp1:additionalProp2:additionalProp3,username
1955-10-28,Bill,Gates,2020-08-30T20:28:36.267Z,Tamil:English:Spanish,bgates
[{"dateOfBirth":"1955-10-28","firstName":"Bill","lastName":"Gates","lastTimeOnline":"2020-08-30T20:28:36.267Z","spokenLanguages":{"additionalProp1":"Tamil","additionalProp2":"English","additionalProp3":"Spanish"},"username":"bgates"}]
{"firstName":"Bill","lastName":"Gates","lastTimeOnline":"2020-08-30T20:28:36.267Z","dateOfBirth":"1955-10-28","spokenLanguages":{"additionalProp1":"Tamil","additionalProp3":"Spanish","additionalProp2":"English"},"username":"bgates"}
Feature: Examples
Tags: @examples @api
0.177
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 /api/riskfactor/compute resource on api 0.172
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/riskfactor/compute",
    "context": {
        "firstname": "Max",
        "city": "Rapperswil",
        "postalCode": "8640",
        "STATUS_CODE": "200",
        "insuranceType": "Life Insurance",
        "quoteId": "448",
        "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
        "lastname": "Mustermann",
        "expiryDate": "2023-03-06T20:40:13",
        "password": "xxxxxxxxxxxx",
        "rejectQuoteId": "457",
        "streetAddress": "Oberseestrasse 10",
        "customerId": "rgpp0wkpec",
        "id": "xzwbqgap18",
        "email": "admin@example.com",
        "startDate": "2022-03-06"
    },
    "url": "https://live.virtualandemo.com"
}
Then the status code is 200 0.000
{
    "firstname": "Max",
    "city": "Rapperswil",
    "postalCode": "8640",
    "STATUS_CODE": "200",
    "insuranceType": "Life Insurance",
    "quoteId": "448",
    "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MTI1NTksImV4cCI6MTY0NzIyNTYxMn0.wupRC8uZ56wm2cf6hQqJ7MBUrwAcAPTAimRngLcuZ6azN3OpuzJtqE_nwQMAJvuSm2PutSjVe92o1aWvP951aw",
    "lastname": "Mustermann",
    "expiryDate": "2023-03-06T20:40:13",
    "password": "xxxxxxxxxxxx",
    "rejectQuoteId": "457",
    "streetAddress": "Oberseestrasse 10",
    "customerId": "rgpp0wkpec",
    "id": "xzwbqgap18",
    "email": "admin@example.com",
    "startDate": "2022-03-06"
}
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.002

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