Fix possible threading issue #2754
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
──────────────────────────────────────────────────────────────────────────────────────────
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:240)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 404, last response body: The requested resource is not available.
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 404, last response body: The requested resource is not available.
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:322)
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/MultiEnvironment.feature:98)
|
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.2.2",
"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.2.2",
"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 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:11)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 200, last response body: ***"data":***"allHumans":[***"name":"string"***,***"name":"string"***]***
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 200, last response body: ***"data":***"allHumans":[***"name":"string"***,***"name":"string"***]***
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:322)
at ✽.I eventually receive 403 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GraphQL.feature:46)
|
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:132)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 404, last response body: The requested resource is not available.
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 404, last response body: The requested resource is not available.
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:322)
at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/OrganizationBasedAPIS.feature:17)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 403, last response body: User is NOT authorized to access the Resource: /test-scope/1.0.0/employeewithscopes. Scope validation failed.
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 403, last response body: User is NOT authorized to access the Resource: /test-scope/1.0.0/employeewithscopes. Scope validation failed.
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:322)
at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/BasicDeploymentAndApiInvocation.feature:122)
|
Publish Test Report
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 404, last response body: The requested resource is not available.
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 404, last response body: The requested resource is not available.
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:322)
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/MultiEnvironment.feature:42)
|
Run test cases
Process completed with exit code 1.
|
Publish Test Report
188 tests run, 0 skipped, 47 failed.
|
Loading