Unanswered question

Manually the flow is working, but when we replay the script, its giving 500 error in one transaction

A particular flow is working manually but when replaying the script, seeing 500 error in one transcation at a particular request.
Its giving this message
giving javax.servlet.ServletException: Possible CSRF attack noted when comparing token in session and request header. Request: POST

Could someone please provide solution to this, The application is hosted in AWS ?

Regards,
Vijaya Sree

Venkata Vijaya S.
Venkata Vijaya S.

Venkata Vijaya S.

Level
0
34 / 100
points

Answers

Sulav B.
Sulav B.

Sulav B.

Level
1
228 / 750
points

This means you are missing some correlations. I went through the solution and found quite a few correlations missing.

Please create a correlation and use search and replace feature to replace all the values for some of the values like:

5cfb90a2338268ad36c55b384dba5ced

1d62d73c-6988-4bae-815d-1da476fa638f

SSKKcnbfl0BHe9mTbqjkujInlhmQy7HKwjguuxXz4Gk= (this is the CSRF Token which can be extracted from response header).

I recommend recording the application twice, each some time apart, and compare requests to find out all the values that need to be correlated.

Regards.
Sulav