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 (double-click on the password value to see the value entered), and correct it manually if needed
  2. Click the action-based player button 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 > Review & Validate > Edit.
    2. Select the last action in the list.
    3. Click the Plus icon, and from the dropdown select Add a "wait period" after selected action.
      A wait period of 3 seconds is added.

    4. Optionally increase the value (in seconds) of the wait period (by selecting the wait period and clicking the Edit icon.
  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 > Review & Validate > Edit.
    2. Click the Select icon, and from the dropdown select Select - "Wait" actions.
      All wait actions in the sequence are selected.

    3. Click the Edit icon
      The Edit action value dialog opens.

    4. Increase the value (in seconds) of the wait period.
  6. Click the Record button 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