Forum Discussion
Hi HimanshuTayal ,
Thank you for your reply. What I'm trying to achieve is I will reading the fields from an excel file and check if they are present in the response or not.
For eg:
I will be reading cityCode and cityName from a column in excel file.
My response is as below:
[{
"cityCode": "2345",
"cityName": "abc"
}]
I need to check if both cityCode and cityName are present in the response or not
So the comparison should be dynamic and automatic but not manual
You get something in format:
[{
"cityCode." "2345",
"cityName." "abc"
}]
I understand that I'm just in the content of your response from the server.
Then you can write a script (but in groovy) that will allow you to read the above data yes?
The answer is usually "plainText", does it look like that to you?
Related Content
Recent Discussions
- 6 days agoruchisingh