Forum Discussion
IBaxter
10 years agoOccasional Contributor
I don't care about assertion of this step. This is not a testing step. This is a maintanance step.
nmrao
10 years agoCommunity Hero
Kindly note that, soapUI is tool for testing. And not sure what is maintenance step, not heard of it.
- IBaxter10 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.
- nmrao10 years agoCommunity HeroOk.
"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)