0

I have four requests

  1. Login
  2. ACtion1
  3. Action2
  4. Action3 Here i want to repeat Action 1, action 2 and Action 3. which loop controller i have to use?
  • You're talking about the recursion, not about the loop. – Alexey R. Apr 11 '18 at 7:45
4

Depending on your scenario:

  1. You can put your Login request under Once-Only Controller like:

    • Once Only Controller
      • Login
    • Action 1
    • Action 2
    • Action 3
  2. You can put Action* requests under Loop Controller like:

    • Login
      • Loop Controller (set desired number of loops)
      • Action 1
      • Action 2
      • Action 3
  3. You can put Login request under If Controller and use arbitrary condition to control when the "Login" will be executed

    • If Controller
      • Login
    • Action 1
    • Action 2
    • Action 3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.