TestSuite not excuted because of an Empty table

Hello ,

is there an a way to stop katalon from considering an empty database table as unavailable ?
the table will get filled with data during the test suite ( so when the data is really needed it will be there )

Katalon Studio Version

7.3.1

Screenshots / Videos

@yoyox98

Currently the Test Data must be available before the execution. Can you elaborate more on your test scenario, and can you do it any other way ?

@ThanhTo

I’m doing api tests , i start with an empty database .
i have datafiles (csvs ) with the testdata
image

I have 3 testsuites in the test collection :

  • BackupAndInsert 006 : Contains one testcase that Inserts testdata into database
  • TestCommand 006 : The actual tests
  • Restore 006 : Contains one testcase that Restores the original database data
    image

Testsuite No1 calls a testcase that inserts data into the database


the test case uses a custom keyword that does a simple INSERT query on the tables that will be used in the next step

Testsuite No2 is where i do the real tests , it is bound to multiple datafiles , some of them are internal data and some are database datafiles .


this is where katalon really needs the data not in the step before ,
but because it checks in the beginning of the testsuite collection (not for each testsuite) it dosen’t work

I expect katalon to throw the unavailable error when you run the testsuite directly , but only show a warning if you run it in a testsuitecollection ,i expect there to be an option to chose between throwing an error or a warning in the test suite collection .

by the way i’m using a testcollection insted of putting the two testcases in the testsuite directly because i thought that i would work

i can do it by bypassing the katalon datafile system alltogether
I understand why katalon needs to do this for other types of testing but it makes it impossible to do datadrivin testing without bypassing katalon datafile system .
bypassing the katalon datafile system defeats the purpos of using katalon for api tests and takes away one of the advantages that katalon has over other testing software