Project Number Date
Kafka DB API Testing live(dev) abbe43b1-b927-4ed7-a89f-4a634e3665bd 06 Mar 2022, 20:41

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@pet 26 0 0 0 0 26 4 0 4 2.881 Passed
Tags: @pet
1.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 as a user perform message Validate pet Response action 0.000
When send inline message details for event TEST on pet with type JSON 0.170
{
"category": {
"id": 100,
"name": "string"
},
"id": 100,
"name": "doggie",
"photoUrls": [
"string"
],
"status": "available",
"tags": [
{
"id": 0,
"name": "string"
}
]
}

JSONMessage{type='JSON', id=100, body={"category": {"id": 100,"name": "string"},"id": 100,"name": "doggie","photoUrls": ["string"],"status": "available","tags": [{"id": 0,"name": "string"}]}}

Then verify-by-elements contains pet information for event TEST contains 100 on pet with type JSON 1.084
name doggie
id i~100
{"category": {"id": 100,"name": "string"},"id": 100,"name": "doggie","photoUrls": ["string"],"status": "available","tags": [{"id": 0,"name": "string"}]}
Then verify details for event TEST contains 100 on pet with type JSON 0.009
id,name, category/id:name,status
i~100,doggie,i~100:string,available
[{
    "id": 100,
    "name": "doggie",
    "category": {
        "id": 100,
        "name": "string"
    },
    "status": "available"
}]
{
    "photoUrls": ["string"],
    "name": "doggie",
    "id": 100,
    "category": {
        "name": "string",
        "id": 100
    },
    "status": "available",
    "tags": [{
        "name": "string",
        "id": 0
    }]
}
Tags: @pet
1.293
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 request with given header params 0.040
contentType application/json
When a user get application/json in /api/pets/[petId] resource on pet 0.692
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets/1000",
    "context": {"petId": "1000"},
    "url": "https://live.virtualandemo.com"
}
Then the status code is 200 0.068
{
    "STATUS_CODE": "200",
    "petId": "1000"
}
And verify api response csvson includes in the response 0.001
id,name, category/id:name,status
i~1000,doggie,i~1000:Rocky,available
[{"id":1000,"name":"doggie","category":{"id":1000,"name":"Rocky"},"status":"available"}]
{"photoUrls":["null"],"name":"doggie","id":1000,"category":{"name":"Rocky","id":1000},"type":"DOGS","tags":[{"name":"Dogs","id":0}],"status":"available"}
And verify across response includes following in the response 0.489
name doggie
{
  "id": 1000,
  "category": {
    "id": 1000,
    "name": "Rocky"
  },
  "name": "doggie",
  "type": "DOGS",
  "photoUrls": [
    "null"
  ],
  "tags": [
    {
      "id": 0,
      "name": "Dogs"
    }
  ],
  "status": "available"
}
Tags: @pet
0.151
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 grey value of the key as tag 0.000
And add request with given query params 0.006
tags [tag]
And add request with given header params 0.000
contentType application/json
When a user get application/json in /api/pets/findByTags resource on pet 0.137
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets/findByTags",
    "context": {
        "STATUS_CODE": "200",
        "petId": "1000",
        "tag": "grey"
    },
    "url": "https://live.virtualandemo.com"
}
Then the status code is 200 0.000
{
    "STATUS_CODE": "200",
    "petId": "1000",
    "tag": "grey"
}
And verify-all /api/pets/findByTags api includes following in the response 0.003
photoUrls[0] string
name Butch
id i~201
category.name Bulldog
category.id i~200
status available
tags[0].name grey
tags[0].id i~201
{
  "category": {
    "id": 200,
    "name": "Bulldog"
  },
  "id": 201,
  "name": "Butch",
  "photoUrls": [
    "string"
  ],
  "status": "available",
  "tags": [
    {
      "id": 201,
      "name": "grey"
    }
  ]
}
Tags: @pet
0.172
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.001
contentType application/json
And create api with given input 0.000
photoUrls[0] string
name doggie
id i~100
category.name string
category.id i~100
status available
tags[0].name string
tags[0].id i~0
{
    "photoUrls": ["string"],
    "name": "doggie",
    "id": 100,
    "category": {
        "name": "string",
        "id": 100
    },
    "status": "available",
    "tags": [{
        "name": "string",
        "id": 0
    }]
}
When a user post application/json in /api/pets resource on pet 0.163
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets",
    "context": {
        "STATUS_CODE": "200",
        "petId": "1000",
        "tag": "grey"
    },
    "url": "https://live.virtualandemo.com"
}
Then the status code is 200 0.001
{
    "STATUS_CODE": "200",
    "petId": "1000",
    "tag": "grey"
}
And verify-all /api/pets api includes following in the response 0.002
photoUrls[0] string
name doggie
id i~100
category.name string
category.id i~100
status available
tags[0].name string
tags[0].id i~0
{
  "category": {
    "id": 100,
    "name": "string"
  },
  "id": 100,
  "name": "doggie",
  "photoUrls": [
    "string"
  ],
  "status": "available",
  "tags": [
    {
      "id": 0,
      "name": "string"
    }
  ]
}
And verify-by-elements contains JSON BASED information for event TEST contains 100 on pet with type JSON 0.000
name doggie
id i~100
{"category": {"id": 100,"name": "string"},"id": 100,"name": "doggie","photoUrls": ["string"],"status": "available","tags": [{"id": 0,"name": "string"}]}
And verify details for event TEST contains 100 on pet with type JSON 0.001
id,name, category/id:name,status
i~100,doggie,i~100:string,available
[{
    "id": 100,
    "name": "doggie",
    "category": {
        "id": 100,
        "name": "string"
    },
    "status": "available"
}]
{
    "photoUrls": ["string"],
    "name": "doggie",
    "id": 100,
    "category": {
        "name": "string",
        "id": 100
    },
    "status": "available",
    "tags": [{
        "name": "string",
        "id": 0
    }]
}