Rest Action 4xx status, not creating output

Discussion created by karthikeayan_9058 on Apr 24, 2017
Latest reply on Apr 26, 2017 by karthikeayan_9058
I have created one rest action. Using JSONPath to find a particular value and saving it into a variable. Using this variable in post process.
The rest call returns 401 status with the response body. I have given return code as 999999 in the settings so that it will end normally.

But however parsing and creation of variable does not happen. Post process giving error saying "variable not defined".

Any suggestions on this?

Also I want to know if there is a possibility to parse HTML output.