Skip to content

Add integration tests for security disabled API invocation for a public API when ELK based Analytics is configured #2169

Add integration tests for security disabled API invocation for a public API when ELK based Analytics is configured

Add integration tests for security disabled API invocation for a public API when ELK based Analytics is configured #2169

Triggered via pull request November 2, 2023 20:21
Status Failure
Total duration 4h 41m 43s
Artifacts 2

maven.yml

on: pull_request
Matrix: build
run-benchmark-test
24m 23s
run-benchmark-test
show-report
28s
show-report
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 5 warnings
build (2, group2)
Process completed with exit code 1.
build (1, group1)
Process completed with exit code 1.
show-report
AdvancedConfigurationsTestCase.testUpdateTenantConfiguration ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65)
show-report
AdvancedConfigurationsTestCase.testUpdateTenantConfiguration ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65)
show-report
APIProductCreationTestCase.testCreateAndInvokeApiProduct ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [404] at org.wso2.am.integration.tests.apiproduct.APIProductCreationTestCase.testCreateAndInvokeApiProduct(APIProductCreationTestCase.java:199)
show-report
APIProductCreationTestCase.testCreateAndInvokeApiProduct ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [404] at org.wso2.am.integration.tests.apiproduct.APIProductCreationTestCase.testCreateAndInvokeApiProduct(APIProductCreationTestCase.java:199)
show-report
APISecurityTestCase.testAPIInvocationWithMutualSSLMandatory ────────────────────────────────────────────────────────────────────────────────────────── Mutual SSL Authentication has not succeed expected [200] but found [401] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Mutual SSL Authentication has not succeed expected [200] but found [401] at org.wso2.am.integration.tests.api.lifecycle.APISecurityTestCase.testAPIInvocationWithMutualSSLMandatory(APISecurityTestCase.java:645)
show-report
APISecurityTestCase.testAPIInvocationWithMutualSSLMandatory ────────────────────────────────────────────────────────────────────────────────────────── Mutual SSL Authentication has not succeed expected [200] but found [401] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Mutual SSL Authentication has not succeed expected [200] but found [401] at org.wso2.am.integration.tests.api.lifecycle.APISecurityTestCase.testAPIInvocationWithMutualSSLMandatory(APISecurityTestCase.java:645)
show-report
APIInvocationWithSimilarResourcesAndDifferentVerbsTestCase.testInvokeAllResources ────────────────────────────────────────────────────────────────────────────────────────── Invocation fails for GET request for /comp/cartes/op/123 expected [200] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Invocation fails for GET request for /comp/cartes/op/123 expected [200] but found [404] at org.wso2.am.integration.tests.api.lifecycle.APIInvocationWithSimilarResourcesAndDifferentVerbsTestCase.testInvokeAllResources(APIInvocationWithSimilarResourcesAndDifferentVerbsTestCase.java:131)
show-report
APIResourceWithSpecialCharactersInvocation.testInvokeGETResourceWithSpecialCharacters ────────────────────────────────────────────────────────────────────────────────────────── Invocation fails for GET request for /special,-._~resource expected [200] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Invocation fails for GET request for /special,-._~resource expected [200] but found [404] at org.wso2.am.integration.tests.api.lifecycle.APIResourceWithSpecialCharactersInvocation.testInvokeGETResourceWithSpecialCharacters(APIResourceWithSpecialCharactersInvocation.java:123)
show-report
APIEndpointCertificateTestCase.testUploadEndpointCertificate ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: at org.wso2.am.integration.tests.api.lifecycle.APIEndpointCertificateTestCase.testUploadEndpointCertificate(APIEndpointCertificateTestCase.java:163) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: at org.wso2.am.integration.tests.api.lifecycle.APIEndpointCertificateTestCase.testUploadEndpointCertificate(APIEndpointCertificateTestCase.java:163)
show-report
APIEndpointCertificateTestCase.testInvokeAPI ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [500] at org.wso2.am.integration.tests.api.lifecycle.APIEndpointCertificateTestCase.testInvokeAPI(APIEndpointCertificateTestCase.java:273)
run-benchmark-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (2, group2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1, group1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
show-report
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2, 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/
show-report
1747 tests run, 110 skipped, 72 failed.

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1 Expired
51.1 MB
TEST-TestSuite_2 Expired
21.8 MB