Hi,
I am currently using QAF for rest web services testing. can you please let me know how can i achieve below-
#1: How can I read the value from nested json response
e.g. I want to read
"test2" value below response
example request Response as below:
{
"sender" : "dell",
"data": null,
"error": [
{
"code": "123",
"message": "test1"
},
{
"code": "456",
"message": "test2"
},
{
"code": "789",
"message": "test3"
}
]
}
#2: How Can I pass response of one json to request body of another json.
e.g. in below request body how can i pass json response of another request
example Request Body as below:
{
"sender" : "dell",
"data": null,
"error": [
<HERE need to pass json response of another request>
]
}
Thanks & Regards,
Nitin