Adding agent integration tests for DptoCp flow #159
Annotations
8 errors and 3 warnings
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [200] but found [500]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [200] but found [500]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:1419)
at org.testng.Assert.assertEquals(Assert.java:1383)
at org.testng.Assert.assertEquals(Assert.java:1429)
at org.wso2.apk.integration.api.BaseSteps.theResponseStatusCodeShouldBe(BaseSteps.java:121)
at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/APILevelInterceptor.feature:87)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 500, last response body: ***"error_message": "Internal Server Error", "error_description": "Internal Server Error", "code": "103500"***
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 500, last response body: ***"error_message": "Internal Server Error", "error_description": "Internal Server Error", "code": "103500"***
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:469)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:221)
at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/APILevelInterceptor.feature:37)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [200] but found [401]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [200] but found [401]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:1419)
at org.testng.Assert.assertEquals(Assert.java:1383)
at org.testng.Assert.assertEquals(Assert.java:1429)
at org.wso2.apk.integration.api.BaseSteps.theResponseStatusCodeShouldBe(BaseSteps.java:121)
at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/Scopes.feature:55)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [200] but found [404]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [200] but found [404]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:1419)
at org.testng.Assert.assertEquals(Assert.java:1383)
at org.testng.Assert.assertEquals(Assert.java:1429)
at org.wso2.apk.integration.api.BaseSteps.theResponseStatusCodeShouldBe(BaseSteps.java:121)
at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/SubscriptionBlocking.feature:53)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [200] but found [500]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [200] but found [500]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:1419)
at org.testng.Assert.assertEquals(Assert.java:1383)
at org.testng.Assert.assertEquals(Assert.java:1429)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:224)
at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/graphQLmTLS.feature:41)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [201] but found [409]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [201] but found [409]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:1419)
at org.testng.Assert.assertEquals(Assert.java:1383)
at org.testng.Assert.assertEquals(Assert.java:1429)
at org.wso2.apk.integration.api.BaseSteps.theResponseStatusCodeShouldBe(BaseSteps.java:121)
at ✽.the response status code should be 201(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/SubscriptionBlocking.feature:10)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 500, last response body: ***"error_message": "Internal Server Error", "error_description": "Internal Server Error", "code": "103500"***
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 500, last response body: ***"error_message": "Internal Server Error", "error_description": "Internal Server Error", "code": "103500"***
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:469)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:221)
at ✽.I eventually receive 404 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/APILevelInterceptor.feature:51)
|
Run test cases
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, azure/CLI@v1, azure/aks-set-context@v3, actions/checkout@v3, malinthaprasan/action-surefire-report@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Publish Test Report
90 tests run, 0 skipped, 7 failed.
|
Loading