chsekhar
6 years agoNew Contributor
Validate multiple values from Database.
Hi all, I have a bit of a challenge. I am new to soap UI and Groovy scripting. I am comparing few values from my output to the database values. So my test case contains: 1. DataSource which will retu...
- 6 years ago
You can use if condition and setting desired values at your script level.
for ex: if DB return 1 then
def dbVal = "YOUR DB QUERY"
if(dbVal == "1"){
dbVal = "true"
}
else{
dbVal = "false"
}