Contributions
Re: Scheduled soap ui test remote server
Are you scheduling from the task scheduler or batch File schedule run , because both can work if you Have the path for the Project on the same directory maybe that should be the cause Optional root finder create batch file save it and try running it manually that would point out the Root cause example ECHO Test run testrunner.bat -s" TestSuiteName" -fC:\Documents\SoupResults -I -j -M C:\Documents\project\pathfile\soapui-project.xml ECHO TEST COMPLETE PAUSE save it as .bat1.1KViews0likes0CommentsRe: Compare 2 XML responses for mismatches
Use the below code to compare the value of two responces import com.eviware.soapui.support.XmlHolder import groovy.json.JsonSlurper def response1 = context.expand( '${Getvalue1#Response}' ).toString() // the request Name or variabe log.info(response1) def slurper = new JsonSlurper() def jsons = slurper.parseText response1 def response = context.expand( '${Getvalue2#Response}' ).toString() The request name or variable log.info(response) def slurperz = new JsonSlurper() def json = slurper.parseText response ///log.info(json.EmployeeNumber) assert [json]==[jsons].sort{compare} // compare the two Values responses It worked for on my end unless if you have issues with Arrays order on the responses4KViews0likes0Comments