Ask a Question

How to perform JSON response schema validation using REST?

ssin48
Occasional Contributor

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
TanyaYatskovska
SmartBear Alumni (Retired)

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



cancel
Showing results for 
Search instead for 
Did you mean: