Update subscription policy test case to support NDB cluster #2242
Annotations
10 errors and 3 warnings
Publish Test Report
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)
|
Publish Test Report
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)
|
Publish Test Report
OperationPolicyTestCase.testCommonOperationPolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Exported & Expected Policy Specifications are not matching expected [{type=operation_policy_specification, version=v4.3.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}] but found [{type=operation_policy_specification, version=v4.2.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Exported & Expected Policy Specifications are not matching expected [{type=operation_policy_specification, version=v4.3.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}] but found [{type=operation_policy_specification, version=v4.2.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}]
at org.wso2.am.integration.tests.operationPolicy.OperationPolicyTestCase.testCommonOperationPolicyExport(OperationPolicyTestCase.java:216)
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.2.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f5eac551-008d-475e-b41a-3817a1a3f418
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditionDTO {
type: IPCONDITION
invertCondition: false
headerCondition: null
ipCondition: class IPConditionDTO {
ipConditionType: IPSPECIFIC
specificIP: 10.100.1.22
startingIP: null
endingIP: null
}
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: HEADERCONDITION
invertCondition: false
headerCondition: class HeaderConditionDTO {
headerName: Host
headerValue: 10.100.7.77
}
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: QUERYPARAMETERCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: class QueryParameterConditionDTO {
parameterName: claimUrl
parameterValue: claimAttribute
}
}, class ThrottleConditionDTO {
type: JWTCLAIMSCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: class JWTClaimsConditionDTO {
claimUrl: name
attribute: admin
}
queryParameterCondition: null
}]
limit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
}]
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.3.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f5eac551-008d-475e-b41a-3817a1a3f418
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditio
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.2.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f945330f-612a-4e85-8983-62bcf5530ccf
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditionDTO {
type: IPCONDITION
invertCondition: false
headerCondition: null
ipCondition: class IPConditionDTO {
ipConditionType: IPSPECIFIC
specificIP: 10.100.1.22
startingIP: null
endingIP: null
}
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: HEADERCONDITION
invertCondition: false
headerCondition: class HeaderConditionDTO {
headerName: Host
headerValue: 10.100.7.77
}
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: QUERYPARAMETERCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: class QueryParameterConditionDTO {
parameterName: claimUrl
parameterValue: claimAttribute
}
}, class ThrottleConditionDTO {
type: JWTCLAIMSCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: class JWTClaimsConditionDTO {
claimUrl: name
attribute: admin
}
queryParameterCondition: null
}]
limit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
}]
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.3.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f945330f-612a-4e85-8983-62bcf5530ccf
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditio
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 8a870a9c-28f0-4fff-9b30-86063ca19913
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 8a870a9c-28f0-4fff-9b30-86063ca19913
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 8a870a9c-28f0-4fff-9b30-86063ca19913
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 8a870a9c-28f0-4fff-9b30-86063ca19913
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePol
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b6bc398a-576d-4efc-a0b0-26c9456c5b34
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b6bc398a-576d-4efc-a0b0-26c9456c5b34
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b6bc398a-576d-4efc-a0b0-26c9456c5b34
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b6bc398a-576d-4efc-a0b0-26c9456c5b34
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePol
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testCustomThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.3.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: 002346b2-d505-4b8a-96c2-650639dbc04c
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.2.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: 002346b2-d505-4b8a-96c2-650639dbc04c
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.3.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: 002346b2-d505-4b8a-96c2-650639dbc04c
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.2.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: 002346b2-d505-4b8a-96c2-650639dbc04c
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testCustomThrottlePolicyExport(Throttle
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b2fa208c-556a-48ad-9425-856656a32274
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.3.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b2fa208c-556a-48ad-9425-856656a32274
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b2fa208c-556a-48ad-9425-856656a32274
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
p
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 788df436-197f-48c4-8236-6b6d02522344
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.3.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 788df436-197f-48c4-8236-6b6d02522344
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 788df436-197f-48c4-8236-6b6d02522344
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
p
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v2, malinthaprasan/action-surefire-report@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Publish Test Report
1726 tests run, 45 skipped, 15 failed.
|
The logs for this run have expired and are no longer available.
Loading