ojopereNew Contributor12 years agoXPath Match Assertion passes test but fails when saved - SoaGiven a REST response that has a HTTP 405 status and returns data contentType = "null"When an assertion is created for the null data, the assertion Test passes but the assertion fails with -> null/empty responseIs this normal behavior and is there another way to create an assertion that does not fail?See attached screen shotsnull+data+1.png63 KBnull+data+test+ok.png72 KB
Related ContentValidate assertion with XPath field nullAdding XPath AssertionXPath : How to assert numerical values[TechCorner Challenge #7] Change an XPath Match assertion to a JSONPath Match assertionProperty values in Xpath Assertions
Recent DiscussionsExecuting test case loop multiple timesError connecting to Postgress DB in ReadyAPI 3.52.0SolvedGroovyScript - Extract specific number of attribute values from variable content responseSolvedHow to create Identical GET request with different parameters in same projectSolvedPath parameter always gives default response