Forum Discussion
SmartBear_Suppo
Alumni
17 years agoHello,
You can use groovy script to get response, load file and compare it.
For example get response with:
Now, you can read file and compare it.
Also, check : http://www.soapui.org/userguide/functio ... ystep.html
robert
You can use groovy script to get response, load file and compare it.
For example get response with:
def request = context.testCase.getTestStepByName( "Test step name" );
def response = request.getProperty( "Response").getValue();
log.info( property ) // this is just to print it.
Now, you can read file and compare it.
Also, check : http://www.soapui.org/userguide/functio ... ystep.html
robert