Q:

How to avoid 504 error while import test cases and results into Rally?

I get 504 error sometimes when I am importing test cases & results into rally. I don't want that to happen because the Java application that I created needs to be a part of an automated process.
Are there any suggestions about how I can avoid 504 error? Or is there a way by which the application tries at least 3-4 times before it throws this exception.
I can think of a try/catch block only....
The worst case scenario for me is when the application is adding results to a testset, and 504 exception is thrown. So I now have a testset, containing incomplete list of results.

A:

I would recommend opening a Case with Rally Support. The gateway timeouts may not be an issue with your integration code. Support has tools they can use to look at the server-side response for the requests you are making and help identify any bottle necks. It's probably a dialog best handled through that channel.

