Add jwtinterceptor back to config ds #2741
Annotations
11 errors and 1 warning
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected object to not be null
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.assertNotNull(Assert.java:1484)
at org.testng.Assert.assertNotNull(Assert.java:1468)
at org.wso2.apk.integration.api.BaseSteps.theResponseHeadersShouldContain(BaseSteps.java:301)
at ✽.the response headers should contain(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/APIBackendBasedAIRatelimit.feature:98)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Error while accessing the Token URL. HTTP/1.1 503 Service Unavailable
──────────────────────────────────────────────────────────────────────────────────────────
java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Unavailable
at org.wso2.apk.integration.utils.Utils.extractToken(Utils.java:95)
at org.wso2.apk.integration.api.BaseSteps.iHaveValidSubscription(BaseSteps.java:470)
at ✽.I have a valid subscription(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/DifferentEndpointResourceLevel.feature:4)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Error while accessing the Token URL. HTTP/1.1 503 Service Unavailable
──────────────────────────────────────────────────────────────────────────────────────────
java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Unavailable
at org.wso2.apk.integration.utils.Utils.extractToken(Utils.java:95)
at org.wso2.apk.integration.api.BaseSteps.iHaveValidSubscription(BaseSteps.java:470)
at ✽.I have a valid subscription(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/DifferentSandProdEndpoint.feature:28)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [202] but found [404]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [202] 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:138)
at ✽.the response status code should be 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/CircuitBreaker.feature:32)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [16] but found [0]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [16] but found [0]
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.theGrpcResponseStatusCodeShouldBe(BaseSteps.java:237)
at ✽.the gRPC response status code should be 16(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GRPCMTLS.feature:83)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [401] but found [200]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [401] but found [200]
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:325)
at ✽.I eventually receive 401 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MTLSwithOAuth2Mandatory.feature:351)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Error while accessing the Token URL. HTTP/1.1 503 Service Unavailable
──────────────────────────────────────────────────────────────────────────────────────────
java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Unavailable
at org.wso2.apk.integration.utils.Utils.extractToken(Utils.java:95)
at org.wso2.apk.integration.api.BaseSteps.iHaveValidSubscription(BaseSteps.java:470)
at ✽.I have a valid subscription(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/DifferentEndpointResourceLevel.feature:22)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [401] but found [200]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [401] but found [200]
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:325)
at ✽.I eventually receive 401 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MTLSwithOAuth2Mandatory.feature:34)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Actual response body: ***
"args": ***,
"data": "",
"files": ***,
"form": ***,
"headers": ***
"Accept-Encoding": "gzip,deflate",
"Authorization": "***",
"Gw-Header": "GW-header-value",
"Host": "backend",
"User-Agent": "Apache-HttpClient/4.5.13 (Java/17.0.14)"
***,
"json": null,
"method": "GET",
"origin": "10.244.0.13",
"url": "https://backend/anything/employee"
***
expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Actual response body: ***
"args": ***,
"data": "",
"files": ***,
"form": ***,
"headers": ***
"Accept-Encoding": "gzip,deflate",
"Authorization": "***",
"Gw-Header": "GW-header-value",
"Host": "backend",
"User-Agent": "Apache-HttpClient/4.5.13 (Java/17.0.14)"
***,
"json": null,
"method": "GET",
"origin": "10.244.0.13",
"url": "https://backend/anything/employee"
***
expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertTrue(Assert.java:57)
at org.wso2.apk.integration.api.BaseSteps.theResponseBodyShouldContain(BaseSteps.java:114)
at ✽.the response body should contain "\"Api-Key\": \"sampath\""(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/BackendAPIKeyAuth.feature:14)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [401] but found [200]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [401] but found [200]
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:325)
at ✽.I eventually receive 401 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MTLSwithOAuth2Optional.feature:38)
|
Run test cases
Process completed with exit code 1.
|
Publish Test Report
188 tests run, 0 skipped, 61 failed.
|
Loading