Hello everyone!
I have GraphQL collection with two queries:
- query returnsByOrderId($customerOrderNumber: String!)
- query orderHistory($email: String,)
I want to test responses with different requests values.
I created JSON file for the first request:
[
{
"customerOrderNumber": "GCA00447992"
},
{
"customerOrderNumber": "GUS00447967"
}
]
And for the second one:
[
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
]
I run each request separately and it works as expected
But I wonder, is there any chance to run it simultaneously? Via Collection Runner or Newman?
What does the JSON file have to look like? How it can gather values for 2 different queries?
I appreciate any help you can provide.