Skip to content

Add integration tests for Scope validation #2716

Add integration tests for Scope validation

Add integration tests for Scope validation #2716

Re-run triggered January 29, 2025 12:26
Status Failure
Total duration 2h 53m 56s
Artifacts 4

maven.yml

on: pull_request
Matrix: build
run-benchmark-test
42m 11s
run-benchmark-test
show-report
16s
show-report
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
build (3, group3)
Process completed with exit code 1.
build (1, group1)
Process completed with exit code 1.
show-report
WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_PRODUCTS_CATALOG_1_METHOD ────────────────────────────────────────────────────────────────────────────────────────── Client cannot connect to server ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Client cannot connect to server at org.wso2.am.integration.tests.websocket.WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_PRODUCTS_CATALOG_1_METHOD(WebSocketAPIScopeTestCase.java:347)
show-report
WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_PRODUCTS_CATALOG_1_METHOD ────────────────────────────────────────────────────────────────────────────────────────── Client cannot connect to server ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Client cannot connect to server at org.wso2.am.integration.tests.websocket.WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_PRODUCTS_CATALOG_1_METHOD(WebSocketAPIScopeTestCase.java:347)
show-report
WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_WILDCARD ────────────────────────────────────────────────────────────────────────────────────────── Client cannot connect to server ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Client cannot connect to server at org.wso2.am.integration.tests.websocket.WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_WILDCARD(WebSocketAPIScopeTestCase.java:456)
show-report
WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_WILDCARD ────────────────────────────────────────────────────────────────────────────────────────── Client cannot connect to server ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Client cannot connect to server at org.wso2.am.integration.tests.websocket.WebSocketAPIScopeTestCase.testWebSocketAPIInvocation_WILDCARD(WebSocketAPIScopeTestCase.java:456)
show-report
AllowedScopesTestCase.testGenerateAccessTokenAndInvokeExampleAPIForScopesValidation ────────────────────────────────────────────────────────────────────────────────────────── API invocation failed for /products/catalog/1 with expected status code 200 expected [200] but found [403] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: API invocation failed for /products/catalog/1 with expected status code 200 expected [200] but found [403] at org.wso2.am.integration.tests.other.AllowedScopesTestCase.invokeAPI(AllowedScopesTestCase.java:482) at org.wso2.am.integration.tests.other.AllowedScopesTestCase.testGenerateAccessTokenAndInvokeExampleAPIForScopesValidation(AllowedScopesTestCase.java:314)
show-report
AllowedScopesTestWithCorsDisabled.testGenerateAccessTokenAndInvokeExampleAPIForScopesValidation ────────────────────────────────────────────────────────────────────────────────────────── API invocation failed for /products/catalog/1 with expected status code 200 expected [200] but found [403] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: API invocation failed for /products/catalog/1 with expected status code 200 expected [200] but found [403] at org.wso2.am.integration.tests.other.AllowedScopesTestWithCorsDisabled.invokeAPI(AllowedScopesTestWithCorsDisabled.java:278) at org.wso2.am.integration.tests.other.AllowedScopesTestWithCorsDisabled.testGenerateAccessTokenAndInvokeExampleAPIForScopesValidation(AllowedScopesTestWithCorsDisabled.java:111)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "TEST-TestSuite_1", "TEST-TestSuite_2", "TEST-TestSuite_3", "TEST-TestSuite_4". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
show-report
1858 tests run, 4 skipped, 6 failed.

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1
25.7 MB
TEST-TestSuite_2
15.7 MB
TEST-TestSuite_3
20 MB
TEST-TestSuite_4
35.5 MB