How to handle http 302 redirect response from Soap web service and HTTP post calls?

Hi Everyone,
I am doing the web service API testing in KSE 8.4.1. From time to time, I keep getting http 302 response for my http soap web service call, and the redirect Location header is pointing back to the web service application’s login page. Why I am getting this 302 response? Does KSE have default timeout setting which times out on my API session? Or do I need to explicit specify ‘close http connection’ for each soap web service call in KSE?

Thank you for your response.

You should check the log of your server-side application to find out why it responded HTTP Status code 302.