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
@test_null 7 0 0 0 0 7 1 0 1 0.186 Passed
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"
    }
  ]
}