How to resolve Malformed URL Exception response error in JMeter


During scripting ,I had faced “Malformed URL exception” response error against a request which was failing, although I have performed all correlation but every time I was getting Malformed URL exception “which was happening due to bad redirection of the request to a URL which was not parsed by Jmeter.


To resolve the above issue we have to stop the redirection of request to that URL which jmeter is not able to parsed. To disable the redirection of the request, uncheck the check box “Follow Redirects” in HTTP request Sampler

Run the script and you will get that request passed.