Forum Discussion

_ivanovich_'s avatar
_ivanovich_
Frequent Contributor
9 years ago

How to add assertion in login request in datasource loop

Hi, i have a very simple login request with a datasource (10 invalid usernames and passwords) and a datasourceloop so the login request is executed 10 times. After the execution is finished,  i se...
  • SmartBearAmber's avatar
    9 years ago

    You'll want to add an assertion to the step where the login information is validated. Adding a DataSource loop and unchecking the "Abort on Error" selection in the Test Case Options will ensure that your test will run through all iterations of data.

     

    There are many types of assertions available that may suit your needs. For more information on assertions, please see the following doccuments:

     

    Adding Assertions

     

    Introduction to Assertions