Forum Discussion
Cizo89
11 years agoFrequent Contributor
Hi klusht,
you can access the error log via this script:
Regards,
Marek
you can access the error log via this script:
import com.eviware.soapui.SoapUI
def errLog = SoapUI.getLogMonitor().getLogArea("error log")
def errLogModel = errLog.model
if (errLogModel.getSize() > 0){
for (i in 0..errLogModel.getSize() - 1){
log.info(errLogModel.getElementAt(i))
}
} else{
log.info("No errors were thrown!")
}
Regards,
Marek
Related Content
Recent Discussions
- 10 hours ago