use framgments to validate the responses