OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[Error, GET /error] The 500 (Internal Server Error) response code is returned instead of 200 (OK) #247

Closed OlhenShu closed 2 months ago

OlhenShu commented 2 months ago

Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit)

Reproducible: always.

Pre-conditions: User is logged in as Admin to http://localhost:8085/swagger-ui.html#/

Steps to reproduce

  1. Open to http://localhost:8085/swagger-ui.html#/.
  2. Click on “Basic Error Controller”.
  3. Choose the GET method.
  4. Click on the “Try it out” button.
  5. Click on the “Execute” button.
  6. Pay attention to the response.

Actual result: Response 500 (Internal Server Error) is returned

Expected result: Response 200 (OK) is returned

User story and test case links