Forum Discussion
nmrao
Champion Level 3
Are you surprised with that?
If there are multiple queries allowed, how do you assert result?
If there are multiple queries allowed, how do you assert result?
IBaxter
9 years agoOccasional Contributor
I don't care about assertion of this step. This is not a testing step. This is a maintanance step.
- nmrao9 years agoChampion Level 3Kindly note that, soapUI is tool for testing. And not sure what is maintenance step, not heard of it.
- IBaxter9 years agoOccasional Contributor
If you need to test an API that creates an user. And you need to automate this step - how are you going to get rid of this user at the end of you test? You need to add steps to do cleanup, to delete your user. That is what I call 'mainantanance' steps. And because users's properties are written in several tables - I have to delete it from several tables meaning create several sql statements.
- nmrao9 years agoChampion Level 3Ok.
"Create several sql statements" - You mean, need to have multiple jdbc steps?
How about having an sql file with all statements that are needed, and run this sql using tear down script of test case or suite (what ever fits you)
Related Content
- 2 years agoTestQA1
- 3 years agoMis3
- 2 years agodhundley
- 6 years agoJakemorley
- 6 years agoSreera