Add integration tests for Gateway Policies #2224
Annotations
10 errors and 2 warnings
APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.other.APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence(APIInvocationWithMessageTypeProperty.java:67)
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.other.APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence(APIInvocationWithMessageTypeProperty.java:67)
|
JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling
──────────────────────────────────────────────────────────────────────────────────────────
Request not throttled by bandwidth condition in application tier expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Request not throttled by bandwidth condition in application tier expected [true] but found [false]
at org.wso2.am.integration.tests.throttling.JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling(JWTBandwidthThrottlingTestCase.java:200)
|
JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling
──────────────────────────────────────────────────────────────────────────────────────────
Request not throttled by bandwidth condition in application tier expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Request not throttled by bandwidth condition in application tier expected [true] but found [false]
at org.wso2.am.integration.tests.throttling.JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling(JWTBandwidthThrottlingTestCase.java:200)
|
SubscriptionThrottlingPolicyTestCase.testSubscriptionLevelThrottling
──────────────────────────────────────────────────────────────────────────────────────────
Request not throttled by SubscriptionThrottlePolicy10per1hour expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Request not throttled by SubscriptionThrottlePolicy10per1hour expected [true] but found [false]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.SubscriptionThrottlingPolicyTestCase.testSubscriptionLevelThrottling(SubscriptionThrottlingPolicyTestCase.java:285)
|
AdvancedThrottlingPolicyTestCase.testChangePolicyOperationLevelToAPILevel
──────────────────────────────────────────────────────────────────────────────────────────
Request not throttled by Throttling Policy expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Request not throttled by Throttling Policy expected [true] but found [false]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.AdvancedThrottlingPolicyTestCase.verifyThrottling(AdvancedThrottlingPolicyTestCase.java:663)
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.AdvancedThrottlingPolicyTestCase.testChangePolicyOperationLevelToAPILevel(AdvancedThrottlingPolicyTestCase.java:362)
|
AdvancedThrottlingPolicyTestCase.destroy
──────────────────────────────────────────────────────────────────────────────────────────
Missing the required parameter 'apiId' when calling deleteAPI(Async)
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.am.integration.clients.publisher.api.ApiException: Missing the required parameter 'apiId' when calling deleteAPI(Async)
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.AdvancedThrottlingPolicyTestCase.destroy(AdvancedThrottlingPolicyTestCase.java:695)
|
AdvancedThrottlingPolicyTestCase.destroy
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.AdvancedThrottlingPolicyTestCase.destroy(AdvancedThrottlingPolicyTestCase.java:691)
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.AdvancedThrottlingPolicyTestCase.destroy(AdvancedThrottlingPolicyTestCase.java:691)
|
WebSocketAPITestCase.testWebSocketAPIInvocation
──────────────────────────────────────────────────────────────────────────────────────────
Client cannot connect to server
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Client cannot connect to server
at org.wso2.am.integration.tests.websocket.WebSocketAPITestCase.testWebSocketAPIInvocation(WebSocketAPITestCase.java:249)
|
WebSocketAPITestCase.testWebSocketAPIInvocationWithJWTToken
──────────────────────────────────────────────────────────────────────────────────────────
Client cannot connect to server
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Client cannot connect to server
at org.wso2.am.integration.tests.websocket.WebSocketAPITestCase.testWebSocketAPIInvocationWithJWTToken(WebSocketAPITestCase.java:281)
|
APILoggingTest.testAPIPerAPILoggingTestcase
──────────────────────────────────────────────────────────────────────────────────────────
Invocation fails for GET request expected [200] but found [403]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Invocation fails for GET request expected [200] but found [403]
at org.wso2.am.integration.tests.logging.APILoggingTest.testAPIPerAPILoggingTestcase(APILoggingTest.java:143)
|
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/
|
|
The logs for this run have expired and are no longer available.
Loading