We currently have an ALM session time limit of 30 minutes. When our test cases take longer than this, the plugin is disconnected. Is there a way to have the plugin refresh the connection every now and then?
In the below scenario, the test case ran but after 30 minutes the HPToolsLauncher seems to have been logged out.
Unhandled Exception: System.NullReferenceException: Your Quality Center session has been disconnected. Contact your system administrator for more information
at HpToolsLauncher.AlmTestSetsRunner.GetTestRunId(ITSTest currentTest)
at HpToolsLauncher.AlmTestSetsRunner.WriteTestRunSummary(ITSTest prevTest)
at HpToolsLauncher.AlmTestSetsRunner.RunTestSet(String tsFolderName, String tsName, Double timeout, QcRunMode runMode, String runHost)
at HpToolsLauncher.Launcher.RunTests(IAssetRunner runner, String resultsFile)
at HpToolsLauncher.Program.Main(String args)
An error occured while disposing runner: Your Quality Center session has been disconnected. Contact your system administrator for more information.
The ALM timeout setting seems to be for waiting for ALM, where in our case we need the connection to stay active.
Right now our work around is to break our tests down so they execute under our 30 minute session window.