Project Number Date
Demo code(test) 32032863-34cb-42fb-b240-ae47c1e9d477 06 Mar 2022, 20:39

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Rest-Get - Workflow 20 0 0 0 0 20 4 0 4 0.954 Passed
Feature Rest-Get - Workflow
0.000
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 provided all the feature level parameters from file 0.000
0.193
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 /persons/bgates resource on ep 0.185
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/persons/bgates",
    "context": {
        "petName": "Test2",
        "STATUS_CODE": "201",
        "petId": "2000"
    },
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 200 0.000
{
    "petName": "Test2",
    "STATUS_CODE": "200",
    "petId": "2000"
}
And verify api response csvson includes in the response 0.006
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"}
0.573
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 query params 0.004
tags validateEmpty
And add request with given header params 0.000
contentType application/json
When a user get application/json in /pets/findByTags resource on ep 0.129
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets/findByTags",
    "context": {
        "petName": "Test2",
        "STATUS_CODE": "200",
        "petId": "2000"
    },
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 200 0.000
{
    "petName": "Test2",
    "STATUS_CODE": "200",
    "petId": "2000"
}
And verify api response csvson includes in the response 0.000
id,name, category/id:name,status
i~201,,i~200:Bulldog,available
[{"id":201,"name":"","category":{"id":200,"name":"Bulldog"},"status":"available"}]
{"photoUrls":["string"],"name":"","id":201,"category":{"name":"Bulldog","id":200},"status":"available","tags":[{"name":"red","id":201}]}
And verify across response includes following in the response 0.435
status available
{
  "category": {
    "id": 200,
    "name": "Bulldog"
  },
  "id": 201,
  "name":  "", 
  "photoUrls": [
    "string"
  ],
  "status": "available",
  "tags": [
    {
      "id": 201,
      "name": "red"
    }
  ]
}
0.186
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 query params 0.000
tags validateNull
And add request with given header params 0.000
contentType application/json
When a user get application/json in /pets/findByTags resource on ep 0.122
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets/findByTags",
    "context": {
        "petName": "Test2",
        "STATUS_CODE": "200",
        "petId": "2000"
    },
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 200 0.000
{
    "petName": "Test2",
    "STATUS_CODE": "200",
    "petId": "2000"
}
And verify api response csvson includes in the response 0.001
id,category/id:name,status
i~201,i~200:Bulldog,available
[{"id":201,"category":{"id":200,"name":"Bulldog"},"status":"available"}]
{"photoUrls":["string"],"name":null,"id":201,"category":{"name":"Bulldog","id":200},"status":"available","tags":[{"name":"red","id":201}]}
And verify across response includes following in the response 0.059
name==null true
status available
{
  "category": {
    "id": 200,
    "name": "Bulldog"
  },
  "id": 201,
  "name":  null, 
  "photoUrls": [
    "string"
  ],
  "status": "available",
  "tags": [
    {
      "id": 201,
      "name": "red"
    }
  ]
}