save value from response into external file
Hi,
Using readyApi, implemented data driven testing with steps of Data source -> GraphQL Request -> Data source loop. GraphQL Request step returns json response and it contains number of json objects. for example:
{
"data" : {
"info" : {
"edges" : [
{
"node" : {
"info" : [
{
"Name" : "AG",
"Devices" : [
{
"AccountId" : "123",
"dev" : "123",
"Model" : "123"
},
{
"AccountId" : "123",
"dev" : "123",
"Model" : "123"
},
{
"AccountId" : "123",
"dev" : "123",
"Model" : "123"
},
]
}
]
}
I need to get number of devices (3 in this example) and store in external file or same file in Data Source step. Is it possible?