I am trying to test post api for my laravel application in Jmeter. The request should be sent to "http://localhost:8080/api/renewals". I have set up Login page and have fetched access_token from login page using HTTP Header Manager. I have also set up the XSRF-TOKEN and laravel_session values in HTTP Cookie Manager.
The request to login page and sending credentials with username and password gives response of bearer token. I don't know why I am getting internal server error when I tried setting up authorization in postman with bearer token and sending post data to the url works. The response should return json, success: true.
Laravel version: 5 Mysql: 5.7.33