We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi,
Assertions tend to be used to ensure the response from some service is valid. I'm not sure why you'd doubt the data source, and assertions in the data-source step are something I've never felt required.
If you do doubt your source, or want to check the rows prior to running a test, then the only thing I'd suggest is adding a JDBC Test Step before the datasource step and apply the assertions there. If the assertion fails, then don't run the test.
Hi,
Assertions tend to be used to ensure the response from some service is valid. I'm not sure why you'd doubt the data source, and assertions in the data-source step are something I've never felt required.
If you do doubt your source, or want to check the rows prior to running a test, then the only thing I'd suggest is adding a JDBC Test Step before the datasource step and apply the assertions there. If the assertion fails, then don't run the test.