I've 2 text files having json replies which I would like to compare everyline. Below is the code snippet I've been trying.
if (expectedResponse == actualResponse){
log.info "PASS"
}
else {
log.info "FAIL"
}
}
While comparing the files, is it must to read lines and do so? Any suggestions please..