Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

504 HTTP (Gateway TimeOut) response code received while deleting testPlan through API


#1

I have written java code to call testRail API ‘delete_plan’ . It works fine for some time being , deleting first few testplans , afterwards it starts showing ‘504’ error code in response .

I am using java-bindings provided by testRail ( http://docs.gurock.com/testrail-api2/bindings-)

Here is an excerpt of execution

URL WITH QUERY PARAM IS get_plans/1&is_completed=1&created_before=1477571551

18:02:34.663 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob master-qa-test-selenium-dashboards-firefox-2012-qa Of BuildNo 96
18:02:34.663 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob prerelease_5.24.6-qa-test-selenium-misc-firefox-2012-qa Of BuildNo 13
18:02:34.663 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob pronto_ui-qa-test-fujita-misc-2012-qa Of BuildNo 60
18:02:55.880 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob master-qa-test-selenium-visualizer-turbo-chrome-2012-qa Of BuildNo 100
18:03:05.960 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob master-qa-test-selenium-security-firefox-2012-qa Of BuildNo 94
18:03:27.287 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob prerelease_5.24.6-qa-test-selenium-dashboards-chrome-2012-qa Of BuildNo 12
18:03:34.770 TestRailIntegrationCode - 504[GateWay time out] is thrown . Ignoring it
18:03:37.465 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob master-qa-test-fujita-misc-2012-qa Of BuildNo 91
18:03:58.362 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob prerelease_5.24.6-qa-test-selenium-dashboards-chrome-2012-qa Of BuildNo 11
18:04:29.163 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob master-qa-test-selenium-misc-firefox-2012-qa Of BuildNo 94
18:04:34.770 TestRailIntegrationCode - 504[GateWay time out] is thrown . Ignoring it
18:04:36.770 TestRailIntegrationCode - 504[GateWay time out] is thrown . Ignoring it
18:04:39.851 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob master-qa-test-selenium-visualizer-turbo-chrome-2012-qa Of BuildNo 98
18:04:50.557 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob prerelease_5.24.6-qa-test-selenium-security-firefox-2012-qa Of BuildNo 10
18:05:11.760 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob release_5.24.6-qa-test-fujita-security-2012-qa Of BuildNo 10
18:05:28.769 TestRailIntegrationCode - 504[GateWay time out] is thrown . Ignoring it
18:05:32.923 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob prerelease_5.24.6-qa-test-selenium-visualizer-chrome-2012-qa Of BuildNo 10
18:05:43.185 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob release_5.24.6-qa-test-selenium-visualizer-firefox-2012-qa Of BuildNo 10
18:05:50.770 TestRailIntegrationCode - 504[GateWay time out] is thrown . Ignoring it
18:05:53.867 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob release_5.24.6-qa-test-selenium-misc-firefox-2012-qa Of BuildNo 10
18:06:14.661 TestRailIntegrationCode - Plan to be deleted is -> Plan for JenkinJob prerelease_5.24.6-qa-test-selenium-dashboards-chrome-2012-qa Of BuildNo 9
18:06:32.769 TestRailIntegrationCode - 504[GateWay time out] is thrown . Ignoring it


#2

Hi Sameer,

Thanks for your posting! I believe there’s also an email thread for this and we will get back to you via email.

Cheers,
Tobias