MrMax
16 years agoOccasional Contributor
Groovy Script + Assertions
Hi,
Does anyone know how to add assertions to a groovy script.
This is my scenario:
I want to take data from a .csv file from developers.
The CSV file contains 100 users with there information ie. age,height, date of birth,
I want to take this data and loop/automate with a script so soapUI takes the data and then runs a groovy script then outputs the data to me
So far dunno what the best way is, I have a small script in groovy but limitation is when this is run I cannot see output or attach a assertion so that it lets me know if the test has failed or passed.
Any comments will be helpful
Regards
Max
Does anyone know how to add assertions to a groovy script.
This is my scenario:
I want to take data from a .csv file from developers.
The CSV file contains 100 users with there information ie. age,height, date of birth,
I want to take this data and loop/automate with a script so soapUI takes the data and then runs a groovy script then outputs the data to me
So far dunno what the best way is, I have a small script in groovy but limitation is when this is run I cannot see output or attach a assertion so that it lets me know if the test has failed or passed.
Any comments will be helpful
Regards
Max