Groovy script failures when running the test cases through command line
I am encountering lot of groovy script failures when I am running the test cases through command line. Through a .bat file I call the soap project and it runs all the tests through command line in a few minutes , but for some reason the command line doesn't recognize the response's and the groovy script fails. But when i run the soap tests through the GUI all the test run like a charm including the groovy script validation.
Re: Groovy script failures when running the test cases through command line
The most call that fail are the one's where I declare all the properties in a properties step that I am suppossed to get in the soap call response. The command line fails to recognize the properties that are being thrown out by the soap call , but in some tests the command line recognizes the responses thrown out by the soap call. At the end I compare the properties I have declared against the soap response in the groovy script. I am researching further to see if there is any difference in the way the soap response are being thrown in different calls. i am being aslo seeing if having a set up script makes any difference.
The error message I am getting is that "My data property doesn't compare with the response property ". Grrovy script failed so the whole test case fails.