lively629Visitor5 years agowhy 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...Show More
Nastya_KhovrinaSmartBear Alumni (Retired) to sonya_m5 years agoHi lively629, We need more information here (as nmrao requested).
Related ContentSmart Assertion: Equals (One of)does NOT equal assertionSmart AssertionScript AssertionGroovy script for JDBS request assertion. Unexpected element: CDATA
Recent DiscussionsMismatch between response from a CURL request and ReadyAPI responseReading dynamic parameter from resource pathParameterising JDBC Connection Settings..Can you do it?Test Runner - Report All in One FileGroovyScript Help - Repeating JSON Attributes Have Specific Value.....some of the time?Solved