Add integration tests for security disabled API invocation for a public API when ELK based Analytics is configured #2157
Triggered via pull request
October 12, 2023 10:47
Status
Failure
Total duration
4h 32m 26s
Artifacts
2
maven.yml
on: pull_request
Matrix: build
run-benchmark-test
23m 59s
show-report
21s
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
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)
|
show-report
ScriptMediatorTestCase.testScriptMediatorWithNullObject
──────────────────────────────────────────────────────────────────────────────────────────
JSONObject["name"] not found.
──────────────────────────────────────────────────────────────────────────────────────────
org.json.JSONException: JSONObject["name"] not found.
at org.wso2.am.integration.tests.other.ScriptMediatorTestCase.testScriptMediatorWithNullObject(ScriptMediatorTestCase.java:64)
|
show-report
CustomHeaderTestCase.testSystemWideCustomAuthHeader
──────────────────────────────────────────────────────────────────────────────────────────
Response code mismatched expected [200] but found [401]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Response code mismatched expected [200] but found [401]
at org.wso2.am.integration.tests.header.CustomHeaderTestCase.testSystemWideCustomAuthHeader(CustomHeaderTestCase.java:133)
|
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
1724 tests run, 96 skipped, 60 failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
TEST-TestSuite_1
Expired
|
50.8 MB |
|
TEST-TestSuite_2
Expired
|
20.2 MB |
|