From e7170127ff637c7d8e3d8dddafe443fa2976d91f Mon Sep 17 00:00:00 2001 From: Paul Brodner Date: Wed, 18 Jan 2017 12:43:41 +0200 Subject: [PATCH] update rest suite & default.properties --- .../java/org/alfresco/rest/auth/AuthTests.java | 2 +- e2e-test/resources/default.properties | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/e2e-test/java/org/alfresco/rest/auth/AuthTests.java b/e2e-test/java/org/alfresco/rest/auth/AuthTests.java index 03a8a456a..2be7bfc7e 100644 --- a/e2e-test/java/org/alfresco/rest/auth/AuthTests.java +++ b/e2e-test/java/org/alfresco/rest/auth/AuthTests.java @@ -13,7 +13,7 @@ import org.testng.annotations.Test; public class AuthTests extends RestTest { @TestRail(section = { TestGroup.REST_API, TestGroup.AUTH }, executionType = ExecutionType.SANITY, description = "Verify TICKET is returned on admin user") - @Test(groups = { TestGroup.REST_API, TestGroup.SANITY }) + @Test(groups = { TestGroup.REST_API, TestGroup.SANITY, TestGroup.AUTH }) public void adminShouldGetTicketBody() throws JsonToModelConversionException, Exception { RestTicketBodyModel ticketBody = new RestTicketBodyModel(); diff --git a/e2e-test/resources/default.properties b/e2e-test/resources/default.properties index 6d12861d7..1dc1987e1 100644 --- a/e2e-test/resources/default.properties +++ b/e2e-test/resources/default.properties @@ -5,7 +5,7 @@ alfresco.port=8080 # in containers we cannot access directly JMX, so we will use http://jolokia.org agent # disabling this we will use direct JMX calls to server -jmx.useJolokiaAgent=false +jmx.useJolokiaAgent=true # credentials admin.user=admin @@ -17,22 +17,25 @@ admin.password=admin # # Example of configuration: # ------------------------------------------------------ -# testManagement.endPoint=https://alfresco.testrail.com/ # if testManagement.enabled=true we enabled TestRailExecutorListener (if used in your suite xml file) # testManagement.updateTestExecutionResultsOnly=true (this will just update the results of a test: no step will be updated - good for performance) +# testManagement.endPoint=https://alfresco.testrail.com/ # testManagement.username= # testManagement.apiKey= -# testManagement.project= +# testManagement.project= +# testManagement.includeAllTests=false #if you want to include in your run ONLY the test cases that you run, then set this value to false +# testManagement.rateLimitInSeconds=2 #is the default rate limit after what minimum time, should we upload the next request. http://docs.gurock.com/testrail-api2/introduction #Rate Limit # testManagement.suiteId=23 (the id of the Master suite) # ------------------------------------------------------ -testManagement.enabled=false -testManagement.updateTestExecutionResultsOnly=true +testManagement.enabled=true testManagement.endPoint=https://alfresco.testrail.com/ testManagement.username=tas.alfresco@gmail.com testManagement.apiKey=EYpY7.fV0AoMGWbmyuVC-k5u.nzwHy6a.QWzJq8.S testManagement.project=7 -testManagement.testRun=Automation +testManagement.includeAllTests=false +testManagement.rateLimitInSeconds=1 +testManagement.testRun=MyTestRunInTestRail testManagement.suiteId=12 # The location of the reports path