werther78
6 years agoNew Contributor
Assertion for a query for a rest request
I need help. I have a query that counts the number of accounts for an for a company that has. So the query counts how many accounts that company which is odentified by a refrence number like 8971 or 7563. So my rest request has an input parameter for the reference number and the repsonse comes as true or false. Like if reference number has no accounts then it gives false. I don't what is the simplest way to automate this since there are over 300 reference numbers. Do i put the query in the test assertion using groovy. I am new to this and I don't know scripting well.