log message in my JDBC assertion script is duplicating in the log error window
My test case has the below execution flow
The data source has 2 records, which gets looped
I have a JDBC assertion script that validates the database values returned in the JDBC response and compare it with the expected result specified in the DataSource file
When I execute the test case, I noticed that the log message in the JDBC assertion script gets printed in the Script.log when
- the 1st step ie data source step gets executed, I wasn't expecting to see it for the JDBC step hasn't been executed yet
- and also it duplicates the log message
Then when the JDBC step gets executed, the log message gets printed twice for each record in the data source.
Again I wasn't expecting to see duplicate the log message in the Script Log. I know its duplicating, for the time stamp of the 1st record in the data source is duplicated twice in the script. log