Bisheshsingh / GameZone

This is a Gaming website where you can play games available in the website
0 stars 0 forks source link

Load Tests are failing #20

Open Bisheshsingh opened 1 year ago

Bisheshsingh commented 1 year ago

Describe the bug Load Tests are failing because of sessions. Sessions uses server side data to store vars which is not good for our application as memory is getting used whenever a session is created by customer. Ad also some session ids are colliding.

Bisheshsingh commented 1 year ago

Methods: 1) We can use Redirecting Attributes. https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/mvc/support/RedirectAttributes.html Success Rate - 80%

2) We can use forms to send requests. (Previously Failed) Success Rate - 50%

Bisheshsingh commented 1 year ago

Going with the first method

Bisheshsingh commented 1 year ago

Using Json as bridge between web and java