Project Number Date
Graphql(test) b03a562c-e7e2-43ba-bf4c-99864b3bf686 06 Mar 2022, 20:39

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Graphql-Example - Workflow 27 0 0 0 0 27 4 0 4 1.467 Passed
Feature Graphql-Example - Workflow
0.000
Before io.virtualan.cucumblan.core.BaseStepDefinition.before(io.cucumber.java.Scenario) 0.445
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
1.201
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 suki value of the key as name 0.000
And add the 13 value of the key as age 0.000
And add request with given header params 0.048
contentType application/json
And create api with given input 0.002
variables.name
variables.age i~0
query mutation { createAuthor( name: "[name]", age: [age]) { id name } }
{
    "variables": {
        "name": "",
        "age": 0
    },
    "query": "mutation {\n createAuthor(\n name: \"suki\",\n age: 13) {\n id name\n }\n}"
}
When a user post application/json in /apis/graphql resource on graphql 0.707
{
    "AcceptContentType": "application/json",
    "resource": "http://microservices.virtualandemo.com:8091/apis/graphql",
    "context": {
        "name": "suki",
        "age": "13"
    },
    "url": "http://microservices.virtualandemo.com:8091"
}
Then the status code is 200 0.044
{
    "name": "suki",
    "STATUS_CODE": "200",
    "age": "13"
}
And verify api response csvson includes in the response 0.000
data.createAuthor/name
[name]
[{"data":{"createAuthor":{"name":"suki"}}}]
{"data":{"createAuthor":{"name":"suki","id":"11"}}}
And verify across response includes following in the response 0.379
data.createAuthor.name [name]
This file cannot be displayed. Use download button to get the content as file.
And store the data.createAuthor.id value of the key as id 0.018
0.132
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 sri value of the key as name2 0.000
And add the 8 value of the key as age2 0.000
And add request with given header params 0.000
contentType application/json
And create api with given input 0.000
variables.name
variables.age i~0
query mutation { createAuthor( name: "[name2]", age: [age2]) { id name } }
{
    "variables": {
        "name": "",
        "age": 0
    },
    "query": "mutation {\n createAuthor(\n name: \"sri\",\n age: 8) {\n id name\n }\n}"
}
When a user post application/json in /apis/graphql resource on graphql 0.081
{
    "AcceptContentType": "application/json",
    "resource": "http://microservices.virtualandemo.com:8091/apis/graphql",
    "context": {
        "name": "suki",
        "STATUS_CODE": "200",
        "id": "11",
        "name2": "sri",
        "age": "13",
        "age2": "8"
    },
    "url": "http://microservices.virtualandemo.com:8091"
}
Then the status code is 200 0.015
{
    "name": "suki",
    "STATUS_CODE": "200",
    "id": "11",
    "name2": "sri",
    "age": "13",
    "age2": "8"
}
And verify api response csvson includes in the response 0.000
data.createAuthor/name
[name2]
[{"data":{"createAuthor":{"name":"sri"}}}]
{"data":{"createAuthor":{"name":"sri","id":"12"}}}
And verify across response includes following in the response 0.020
data.createAuthor.name [name2]
This file cannot be displayed. Use download button to get the content as file.
And store the data.createAuthor.id value of the key as id2 0.014
Tags: @graphql
0.133
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
And create api with given input 0.000
query query findAllAuthors { findAllAuthors { id name age } }
{"query": "query findAllAuthors {\n findAllAuthors {\n id\n name\n age\n }\n}"}
When a user post application/json in /apis/graphql resource on graphql 0.090
{
    "AcceptContentType": "application/json",
    "resource": "http://microservices.virtualandemo.com:8091/apis/graphql",
    "context": {
        "id2": "12",
        "name": "suki",
        "STATUS_CODE": "200",
        "id": "11",
        "name2": "sri",
        "age": "13",
        "age2": "8"
    },
    "url": "http://microservices.virtualandemo.com:8091"
}
Then the status code is 200 0.002
{
    "id2": "12",
    "name": "suki",
    "STATUS_CODE": "200",
    "id": "11",
    "name2": "sri",
    "age": "13",
    "age2": "8"
}
And verify data.findAllAuthors response csvson includes in the response 0.039
id,name,age
[id],[name], i~13
[id2],[name2], i~8
[{"id":"11","name":"suki","age":13},{"id":"12","name":"sri","age":8}]
{"data":{"findAllAuthors":[{"name":"suki","id":"1","age":13},{"name":"sri","id":"2","age":8},{"name":"suki","id":"3","age":13},{"name":"sri","id":"4","age":8},{"name":"suki","id":"5","age":13},{"name":"sri","id":"6","age":8},{"name":"suki","id":"7","age":13},{"name":"sri","id":"8","age":8},{"name":"suki","id":"9","age":13},{"name":"sri","id":"10","age":8},{"name":"suki","id":"11","age":13},{"name":"sri","id":"12","age":8}]}}