Project Number Date
REST GET Example(test) e43f2784-282f-45c3-9f09-04bf0bf6b70c 06 Mar 2022, 20:39

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
REST-API-Get - Workflow 12 0 0 0 0 12 3 0 3 1.477 Passed
Feature REST-API-Get - Workflow
0.003
Before io.virtualan.cucumblan.core.BaseStepDefinition.before(io.cucumber.java.Scenario) 0.465
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.003
0.916
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.001
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.042
contentType application/json
When a user get application/json in /persons/bgates resource on ep 0.796
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/persons/bgates",
    "context": {},
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 200 0.065
{"STATUS_CODE": "200"}
And verify api response csvson includes in the response 0.010
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.557
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.001
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.006
tags red
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.153
{
    "AcceptContentType": "application/json",
    "resource": "https://live.virtualandemo.com/api/pets/findByTags",
    "context": {"STATUS_CODE": "200"},
    "url": "https://live.virtualandemo.com/api"
}
Then the status code is 200 0.001
{"STATUS_CODE": "200"}
And verify across response includes following in the response 0.394
status available
{
  "category": {
    "id": 200,
    "name": "Bulldog  \r\n Testing \r\n again"
  },
  "id": 201,
  "name": "",
  "photoUrls": [
    "string"
  ],
  "status": "available",
  "tags": [
    {
      "id": 201,
      "name": "red"
    }
  ]
}