Project Number Date
Lakeside Mutual - Customer Self-Service - API and Database(test) 676b8b35-c7c3-4fad-8760-e153edbc1169 06 Mar 2022, 20:40

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@okta 14 0 0 0 0 14 2 0 2 1.617 Passed
1.356
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 as a insurance user perform login api action 0.000
And add content type with given header params 0.051
contentType application/json
And create login information with given input 0.001
password [password]
email [email]
{
    "password": "1password",
    "email": "admin@example.com"
}
When logging in using post application/json in /auth resource on cssapi 0.858
{
    "AcceptContentType": "application/json",
    "resource": "http://microservices.virtualandemo.com:8080/auth",
    "context": {
        "password": "xxxxxxxxxxxx",
        "email": "admin@example.com"
    },
    "url": "http://microservices.virtualandemo.com:8080"
}
Then the status code is 200 0.033
{
    "password": "xxxxxxxxxxxx",
    "STATUS_CODE": "200",
    "email": "admin@example.com"
}
And verify user email information includes following in the response 0.389
email [email]
{
  "email" : "admin@example.com",
  "token" : "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MjEwMjAsImV4cCI6MTY0NzIyNTYyMX0.20mHq_jgaV9r2BXmHzPzwHmfmabpmi-4XC0-rKowG2EThYWOTA9fwWA_ZUwVucaTDO-j8V9mrL93krNxN3tioA"
}
And store token as key and api's token as value 0.020
0.261
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 as a insurance user perform login api action 0.000
And add content type with given header params 0.000
contentType application/json
And create login information with given input 0.000
password [password]
email [email]
{
    "password": "1password",
    "email": "admin@example.com"
}
When logging in using post application/json in /auth resource on cssapi 0.231
{
    "AcceptContentType": "application/json",
    "resource": "http://microservices.virtualandemo.com:8080/auth",
    "context": {
        "firstname": "Max",
        "city": "Rapperswil",
        "postalCode": "8640",
        "STATUS_CODE": "200",
        "quoteId": "466",
        "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MjEwMjAsImV4cCI6MTY0NzIyNTYyMX0.20mHq_jgaV9r2BXmHzPzwHmfmabpmi-4XC0-rKowG2EThYWOTA9fwWA_ZUwVucaTDO-j8V9mrL93krNxN3tioA",
        "lastname": "Mustermann",
        "expiryDate": "2023-03-06T20:40:22",
        "password": "xxxxxxxxxxxx",
        "streetAddress": "Oberseestrasse 10",
        "policy_limit_amount": "50000.00",
        "customerId": "rgpp0wkpec",
        "email": "admin@example.com",
        "startDate": "2022-03-06"
    },
    "url": "http://microservices.virtualandemo.com:8080"
}
Then the status code is 200 0.001
{
    "firstname": "Max",
    "city": "Rapperswil",
    "postalCode": "8640",
    "STATUS_CODE": "200",
    "quoteId": "466",
    "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MjEwMjAsImV4cCI6MTY0NzIyNTYyMX0.20mHq_jgaV9r2BXmHzPzwHmfmabpmi-4XC0-rKowG2EThYWOTA9fwWA_ZUwVucaTDO-j8V9mrL93krNxN3tioA",
    "lastname": "Mustermann",
    "expiryDate": "2023-03-06T20:40:22",
    "password": "xxxxxxxxxxxx",
    "streetAddress": "Oberseestrasse 10",
    "policy_limit_amount": "50000.00",
    "customerId": "rgpp0wkpec",
    "email": "admin@example.com",
    "startDate": "2022-03-06"
}
And verify user email information includes following in the response 0.014
email [email]
{
  "email" : "admin@example.com",
  "token" : "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbkBleGFtcGxlLmNvbSIsImNyZWF0ZWQiOjE2NDY2MjA4MjQxNjIsImV4cCI6MTY0NzIyNTYyNH0.Z-_c7spJ7roXf_YA46KPnnTZZELicU58uFJHgj7IadWZT-xWRle0S5nHvRfDZahxOvWxgqPJwypOwP6_1quNJA"
}
And store token as key and api's token as value 0.011