public int Run(RunRequest request) { if (PTMKernelService.IsTestSuiteRunning()) { throw new NotSupportedException("PTMService does not support parallel run right now, please wait for the current running job to be completed and then try again."); } var result = PTMKernelService.CreateTestRun(request.ConfigurationId, request.SelectedTestCases); return(result); }