Change Retries and Timeout of RTC connection from Java Plain API script
Tiago Fernandez (53●5●16●19)
| asked Sep 10 '13, 11:13 a.m.
retagged Sep 16 '13, 8:22 a.m. by Ralph Earle (257●3●9) Hello,
I am doing some code with RTC API Java Plain which connect into RTC and then perform some actions.
def loginRTC(repositoryUri, user, passwd){
Trying to connect into RTC....
So, my question is:
Thanks a lot for the help. |
Accepted answer
I see the problem is to check if the server is up and running.
In this case, I'd recommend to just check if the server is alive or not. For example, if ping is allowed, then java net inetaddress isreachable() might be easy solution. Another is to create http session and try to obtain login page of RTC. If these succeeds, then you can try login procedure. Tiago Fernandez selected this answer as the correct answer
Comments
Tiago Fernandez
commented Sep 14 '13, 11:51 a.m.
Thank you very much for the response.
Thank you very much for the help.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.