Action-based login troubleshooting

Use these steps to troubleshoot action-based login.

About this task

Try these steps in the order show to troubleshoot. After each step check whether the problem is solved, and if it is not then proceed to the next step.

Procedure

  1. In Login Management > Details > Actions, verify that the username (uid) and password (passw) are correct, and correct it manually if needed.
  2. Click Replay recording to play the sequence in the player. This may help you see where the sequence fails. In addition:
    • Check on the browser playback that all login actions were played correctly and that the browser succeeded to login.
    • Check there are no connection problems or that server responsiveness is not too slow.
    • Check on browser playback if other actions are missing, or browser expired, or password expired.
  3. Record login again with an extra click after the login submit. The extra click should be on an element that exists only after the login, so the browser will reach a page with more information, such as "Welcome [username]" or "[userID]", that AppScan can use as the In-Session pattern.
  4. Increase the “wait period” after the last action in the login sequence (this will prevent the browser closing before all requests are sent):
    1. Click Configuration > Login management > Advanced options > Login playback > Edit playback.
    2. Select the last action in the list.
    3. Click Add wait period.
      A wait period of 3 seconds is added.
    4. Optionally increase the value (in seconds) of the wait period using Edit option from the vertical three dot menu vertical three dot menu.
  5. Increase the "wait period" before all actions in the login sequence (to allow the browser to render slow action elements):
    1. Click Configuration > Login management > Advanced options > Login playback > Edit playback.
    2. For each wait period, click Edit option from the vertical three dot menu vertical three dot menu and increase the value (in seconds) of the wait period.
  6. Click Record and record the sequence again, but this time:
    1. Type the username and password in a text editor and copy-and-paste them into the web page.
    2. Instead of clicking the Submit button on your site, click Enter on your keyboard.