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
@examples 34 0 0 0 0 34 6 0 6 1.147 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
0.264
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 /customers resource on quote 0.122
{
    "AcceptContentType": "application/json",
    "resource": "http://microservices.virtualandemo.com:8090/customers",
    "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": "http://microservices.virtualandemo.com:8090"
}
Then the status code is 200 0.007
{
    "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 customers response csvson includes exact-order-match in the response 0.004
customerId,firstname,lastname,postalCode,streetAddress
bunlo9vk5f,Ado,Kinnett,6500,2 Autumn Leaf Lane
[{"customerId":"bunlo9vk5f","firstname":"Ado","lastname":"Kinnett","postalCode":"6500","streetAddress":"2 Autumn Leaf Lane"}]
{"filter":"","offset":0,"size":50,"_links":{"next":{"href":"http://microservices.virtualandemo.com:8090/customers?filter=&limit=10&offset=10"},"self":{"href":"http://microservices.virtualandemo.com:8090/customers?filter=&limit=10&offset=0"}},"limit":10,"customers":[{"birthday":"1975-06-14T00:00:00.000+00:00","moveHistory":[],"firstname":"Ado","phoneNumber":"055 222 4111","streetAddress":"2 Autumn Leaf Lane","city":"Bellinzona","_links":{"address.change":{"href":"http://localhost:8110/customers/bunlo9vk5f/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/bunlo9vk5f/policies?expand="},"self":[{"href":"http://localhost:8110/customers/bunlo9vk5f?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/bunlo9vk5f"}]},"postalCode":"6500","customerId":"bunlo9vk5f","email":"akinnetta@example.com","lastname":"Kinnett"},{"birthday":"1964-02-02T00:00:00.000+00:00","moveHistory":[],"firstname":"Bel","phoneNumber":"055 222 4111","streetAddress":"4 Sherman Parkway","city":"Genf","_links":{"address.change":{"href":"http://localhost:8110/customers/bd91pwfepl/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/bd91pwfepl/policies?expand="},"self":[{"href":"http://localhost:8110/customers/bd91pwfepl?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/bd91pwfepl"}]},"postalCode":"1201","customerId":"bd91pwfepl","email":"bpiffordb@example.com","lastname":"Pifford"},{"birthday":"1969-03-12T00:00:00.000+00:00","moveHistory":[],"firstname":"Blondy","phoneNumber":"055 222 4111","streetAddress":"5763 Delladonna Trail","city":"Grenchen","_links":{"address.change":{"href":"http://localhost:8110/customers/f2m0v9b73c/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/f2m0v9b73c/policies?expand="},"self":[{"href":"http://localhost:8110/customers/f2m0v9b73c?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/f2m0v9b73c"}]},"postalCode":"2540","customerId":"f2m0v9b73c","email":"blangman14@example.com","lastname":"Langman"},{"birthday":"1958-03-19T00:00:00.000+00:00","moveHistory":[],"firstname":"Carmen","phoneNumber":"055 222 4111","streetAddress":"67 Corry Junction","city":"Bern","_links":{"address.change":{"href":"http://localhost:8110/customers/btpchn7eg8/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/btpchn7eg8/policies?expand="},"self":[{"href":"http://localhost:8110/customers/btpchn7eg8?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/btpchn7eg8"}]},"postalCode":"3001","customerId":"btpchn7eg8","email":"ccashmore3@example.com","lastname":"Cashmore"},{"birthday":"1980-12-23T00:00:00.000+00:00","moveHistory":[],"firstname":"Carny","phoneNumber":"055 222 4111","streetAddress":"1 Warrior Circle","city":"St. Gallen","_links":{"address.change":{"href":"http://localhost:8110/customers/vxhq4zzcqo/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/vxhq4zzcqo/policies?expand="},"self":[{"href":"http://localhost:8110/customers/vxhq4zzcqo?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/vxhq4zzcqo"}]},"postalCode":"9000","customerId":"vxhq4zzcqo","email":"cvezey11@example.com","lastname":"Vezey"},{"birthday":"1970-10-14T00:00:00.000+00:00","moveHistory":[],"firstname":"Carry","phoneNumber":"055 222 4111","streetAddress":"3 Waywood Place","city":"Basel","_links":{"address.change":{"href":"http://localhost:8110/customers/s9lfohy8dc/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/s9lfohy8dc/policies?expand="},"self":[{"href":"http://localhost:8110/customers/s9lfohy8dc?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/s9lfohy8dc"}]},"postalCode":"4001","customerId":"s9lfohy8dc","email":"cphillcock18@example.com","lastname":"Phillcock"},{"birthday":"1972-08-11T00:00:00.000+00:00","moveHistory":[],"firstname":"Cly","phoneNumber":"055 222 4111","streetAddress":"334 Vidon Trail","city":"Sion","_links":{"address.change":{"href":"http://localhost:8110/customers/2dumngurs1/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/2dumngurs1/policies?expand="},"self":[{"href":"http://localhost:8110/customers/2dumngurs1?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/2dumngurs1"}]},"postalCode":"1950","customerId":"2dumngurs1","email":"cmuinoj@example.com","lastname":"Muino"},{"birthday":"1980-09-15T00:00:00.000+00:00","moveHistory":[],"firstname":"Cullin","phoneNumber":"055 222 4111","streetAddress":"8 Drewry Trail","city":"Zug","_links":{"address.change":{"href":"http://localhost:8110/customers/5xvivyzxvc/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/5xvivyzxvc/policies?expand="},"self":[{"href":"http://localhost:8110/customers/5xvivyzxvc?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/5xvivyzxvc"}]},"postalCode":"6300","customerId":"5xvivyzxvc","email":"cmanske2@example.com","lastname":"Manske"},{"birthday":"1963-01-19T00:00:00.000+00:00","moveHistory":[],"firstname":"Davita","phoneNumber":"055 222 4111","streetAddress":"444 Veith Pass","city":"Rapperswil","_links":{"address.change":{"href":"http://localhost:8110/customers/fmlpx3zwxh/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/fmlpx3zwxh/policies?expand="},"self":[{"href":"http://localhost:8110/customers/fmlpx3zwxh?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/fmlpx3zwxh"}]},"postalCode":"8640","customerId":"fmlpx3zwxh","email":"dcompfortl@example.com","lastname":"Compfort"},{"birthday":"1971-01-03T00:00:00.000+00:00","moveHistory":[],"firstname":"Delora","phoneNumber":"055 222 4111","streetAddress":"80388 Bellgrove Alley","city":"Rapperswil","_links":{"address.change":{"href":"http://localhost:8110/customers/xzwbqgap18/address"},"policies":{"href":"http://microservices.virtualandemo.com:8090/customers/xzwbqgap18/policies?expand="},"self":[{"href":"http://localhost:8110/customers/xzwbqgap18?fields="},{"href":"http://microservices.virtualandemo.com:8090/customers/xzwbqgap18"}]},"postalCode":"8640","customerId":"xzwbqgap18","email":"dbroadwellp@example.com","lastname":"Broadwell"}]}
And verify across response includes following in the response 0.126
customers.find { it.firstname == 'Ado' }.postalCode 6500
customers.find { it.customerId == 'bunlo9vk5f' }.firstname Ado
customers.find { it.customerId == 'f2m0v9b73c' }.email blangman14@example.com
{
  "filter" : "",
  "limit" : 10,
  "offset" : 0,
  "size" : 50,
  "customers" : [ {
    "customerId" : "bunlo9vk5f",
    "firstname" : "Ado",
    "lastname" : "Kinnett",
    "birthday" : "1975-06-14T00:00:00.000+00:00",
    "streetAddress" : "2 Autumn Leaf Lane",
    "postalCode" : "6500",
    "city" : "Bellinzona",
    "email" : "akinnetta@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/bunlo9vk5f?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/bunlo9vk5f"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/bunlo9vk5f/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/bunlo9vk5f/policies?expand="
      }
    }
  }, {
    "customerId" : "bd91pwfepl",
    "firstname" : "Bel",
    "lastname" : "Pifford",
    "birthday" : "1964-02-02T00:00:00.000+00:00",
    "streetAddress" : "4 Sherman Parkway",
    "postalCode" : "1201",
    "city" : "Genf",
    "email" : "bpiffordb@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/bd91pwfepl?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/bd91pwfepl"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/bd91pwfepl/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/bd91pwfepl/policies?expand="
      }
    }
  }, {
    "customerId" : "f2m0v9b73c",
    "firstname" : "Blondy",
    "lastname" : "Langman",
    "birthday" : "1969-03-12T00:00:00.000+00:00",
    "streetAddress" : "5763 Delladonna Trail",
    "postalCode" : "2540",
    "city" : "Grenchen",
    "email" : "blangman14@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/f2m0v9b73c?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/f2m0v9b73c"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/f2m0v9b73c/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/f2m0v9b73c/policies?expand="
      }
    }
  }, {
    "customerId" : "btpchn7eg8",
    "firstname" : "Carmen",
    "lastname" : "Cashmore",
    "birthday" : "1958-03-19T00:00:00.000+00:00",
    "streetAddress" : "67 Corry Junction",
    "postalCode" : "3001",
    "city" : "Bern",
    "email" : "ccashmore3@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/btpchn7eg8?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/btpchn7eg8"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/btpchn7eg8/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/btpchn7eg8/policies?expand="
      }
    }
  }, {
    "customerId" : "vxhq4zzcqo",
    "firstname" : "Carny",
    "lastname" : "Vezey",
    "birthday" : "1980-12-23T00:00:00.000+00:00",
    "streetAddress" : "1 Warrior Circle",
    "postalCode" : "9000",
    "city" : "St. Gallen",
    "email" : "cvezey11@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/vxhq4zzcqo?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/vxhq4zzcqo"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/vxhq4zzcqo/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/vxhq4zzcqo/policies?expand="
      }
    }
  }, {
    "customerId" : "s9lfohy8dc",
    "firstname" : "Carry",
    "lastname" : "Phillcock",
    "birthday" : "1970-10-14T00:00:00.000+00:00",
    "streetAddress" : "3 Waywood Place",
    "postalCode" : "4001",
    "city" : "Basel",
    "email" : "cphillcock18@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/s9lfohy8dc?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/s9lfohy8dc"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/s9lfohy8dc/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/s9lfohy8dc/policies?expand="
      }
    }
  }, {
    "customerId" : "2dumngurs1",
    "firstname" : "Cly",
    "lastname" : "Muino",
    "birthday" : "1972-08-11T00:00:00.000+00:00",
    "streetAddress" : "334 Vidon Trail",
    "postalCode" : "1950",
    "city" : "Sion",
    "email" : "cmuinoj@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/2dumngurs1?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/2dumngurs1"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/2dumngurs1/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/2dumngurs1/policies?expand="
      }
    }
  }, {
    "customerId" : "5xvivyzxvc",
    "firstname" : "Cullin",
    "lastname" : "Manske",
    "birthday" : "1980-09-15T00:00:00.000+00:00",
    "streetAddress" : "8 Drewry Trail",
    "postalCode" : "6300",
    "city" : "Zug",
    "email" : "cmanske2@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/5xvivyzxvc?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/5xvivyzxvc"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/5xvivyzxvc/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/5xvivyzxvc/policies?expand="
      }
    }
  }, {
    "customerId" : "fmlpx3zwxh",
    "firstname" : "Davita",
    "lastname" : "Compfort",
    "birthday" : "1963-01-19T00:00:00.000+00:00",
    "streetAddress" : "444 Veith Pass",
    "postalCode" : "8640",
    "city" : "Rapperswil",
    "email" : "dcompfortl@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/fmlpx3zwxh?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/fmlpx3zwxh"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/fmlpx3zwxh/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/fmlpx3zwxh/policies?expand="
      }
    }
  }, {
    "customerId" : "xzwbqgap18",
    "firstname" : "Delora",
    "lastname" : "Broadwell",
    "birthday" : "1971-01-03T00:00:00.000+00:00",
    "streetAddress" : "80388 Bellgrove Alley",
    "postalCode" : "8640",
    "city" : "Rapperswil",
    "email" : "dbroadwellp@example.com",
    "phoneNumber" : "055 222 4111",
    "moveHistory" : [ ],
    "_links" : {
      "self" : [ {
        "href" : "http://localhost:8110/customers/xzwbqgap18?fields="
      }, {
        "href" : "http://microservices.virtualandemo.com:8090/customers/xzwbqgap18"
      } ],
      "address.change" : {
        "href" : "http://localhost:8110/customers/xzwbqgap18/address"
      },
      "policies" : {
        "href" : "http://microservices.virtualandemo.com:8090/customers/xzwbqgap18/policies?expand="
      }
    }
  } ],
  "_links" : {
    "self" : {
      "href" : "http://microservices.virtualandemo.com:8090/customers?filter=&limit=10&offset=0"
    },
    "next" : {
      "href" : "http://microservices.virtualandemo.com:8090/customers?filter=&limit=10&offset=10"
    }
  }
}
Feature: Examples
0.190
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.001
And add request with given header params 0.000
contentType application/json
When a user get application/json in /customers resource on quote 0.127
{
    "AcceptContentType": "application/json",
    "resource": "http://microservices.virtualandemo.com:8090/customers",
    "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": "http://microservices.virtualandemo.com:8090"
}
Then the status code is 200 0.003
{
    "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 store the customers[-1].customerId value of the key as id 0.057
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