How to perform JSON response schema validation using REST?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2016
06:07 AM
09-09-2016
06:07 AM
How to perform JSON response schema validation using REST?
Sample JSON request:
{
"beneficiaryDetails":{
"beneficiaries":[
{
"allocation":"100",
"fullname":"Spouse",
"relationship":{
"code":"1",
"name":"Spouse"
}
}
],
"beneficiaryChoice":"Preferred"
}
}
SS
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2016
04:25 AM
09-14-2016
04:25 AM
Hi ssin48,
You need to use the JSON Schema Compliance assertion. Have you tried adding it to your project?
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
