Contributions
why need to remove assertions before Adding Xpath match(which is put before request step)
1.DataSource 2.Add xpath assertion Notes: def assertionList = myTestRequest.getAssertionList(); for( e in assertionList){ myTestRequest.removeAssertion(e); } if(contact_id!=""){ contact_idXPA = myTestRequest.addAssertion("XPath Match") contact_idXPA.name="XPath_ContactId" contact_idXPA.setPath(namespace1+contact_idX) contact_idXPA.setExpectedContent(contact_id) } 3.Request/Response 4.Loop_DataSource If without the code marked as blue, the above asserion in step 2 is failed. while if adding them back, the above asserion is failed,5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes5Comments