sam S.

  • 1 question asked
  • 1 answer
  • 0 best answers (0%)
  • How to test AJAX which needs the session authenticated?

    We have a web application implemented with Spring Framework. An scenario is: 1. a user logs in, 2. she fills out a form, then click on a button to create an order. The click...
    sam S.
    sam S.

    sam S.

    Level
    0
    14 / 100
    points
    sam S.
    sam S.

    sam S.

    Level
    0
    14 / 100
    points
    For step 1, I found that: 1. if I disable CSRF in the web app, the AJAX post request will go through. 2. if I enable CSRF, then extract the csrf token from login page, and use...