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

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@ep 33 0 0 0 0 33 5 0 5 2.066 Passed
0.970
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 the 1000 value of the key as petId 0.000
And add the Test1 value of the key as petName 0.000
And add request with given header params 0.042
contentType application/json
And create api with given input 0.003
photoUrls[0] string
name Test1
id 1000
category.name string
category.id i~0
type DOGS
status available
tags[0].name string
tags[0].id i~0
{
    "photoUrls": ["string"],
    "name": "Test1",
    "id": "1000",
    "category": {
        "name": "string",
        "id": 0
    },
    "type": "DOGS",
    "status": "available",
    "tags": [{
        "name": "string",
        "id": 0
    }]
}
When a user post application/json in /pets resource on ep 0.884
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets",
    "context": {
        "petName": "Test1",
        "petId": "1000"
    },
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 201 0.038
{
    "petName": "Test1",
    "STATUS_CODE": "201",
    "petId": "1000"
}
0.142
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 the 2000 value of the key as petId 0.000
And add the Test2 value of the key as petName 0.000
And add request with given header params 0.000
contentType application/json
And create api with given input 0.000
photoUrls[0] string
name Test2
id 2000
category.name string
category.id i~0
type DOGS
status available
tags[0].name string
tags[0].id i~0
{
    "photoUrls": ["string"],
    "name": "Test2",
    "id": "2000",
    "category": {
        "name": "string",
        "id": 0
    },
    "type": "DOGS",
    "status": "available",
    "tags": [{
        "name": "string",
        "id": 0
    }]
}
When a user post application/json in /pets resource on ep 0.139
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets",
    "context": {
        "petName": "Test2",
        "STATUS_CODE": "201",
        "petId": "2000"
    },
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 201 0.001
{
    "petName": "Test2",
    "STATUS_CODE": "201",
    "petId": "2000"
}
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"
    }
  ]
}