Response data i am getting: Padding is invalid and cannot be removed.

Getting error as shown below


As per 500 Internal Server Error description:

The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

This error response is a generic "catch-all" response. Sometimes, server administrators log error responses like the 500 status code with more details about the request to prevent the error from happening again in the future.

So you need to check your application log for the error details.

A good idea would be capturing the requests which is sent by the real browser and JMeter using a sniffer tool like Burp Proxy or Wireshark and compare the requests which need to be the same (apart form dynamic parameters which need to be correlated)

I don't like your HTTP Cookie Manager which is added as the child of the Login Page request, HTTP Cookie Manager obeys JMeter Scoping Rules so it should be enough to have one HTTP Cookie Manager at the Test Plan root, this way the cookies from Zoom Page will be available for the Login Page request and in your setup they are not.

  • Thanks for ur suggestion. I am not getting how to pass the session ids if cookie manager placed in Test plan level. Session ids are dynamic so i put in login page. Please suggest more. – RK007 Aug 5 '19 at 15:05

Found the cause of the error, Path was not given correctly in my sample pages. After giving the Path correctly, error was gone.

Thanks all spending time on this.

Update: The path was incorrect for the following Http request pages, so after changing the path, it worked fine


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.