-
Notifications
You must be signed in to change notification settings - Fork 751
/
Copy pathtestng.xml
470 lines (445 loc) · 41.9 KB
/
testng.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Identity-suite-initializer" parallel="false" thread-count="1">
<parameter name="useDefaultListeners" value="false"/>
<listeners>
<listener class-name="org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener"/>
<listener class-name="org.wso2.carbon.automation.engine.testlisteners.TestManagerListener"/>
<listener class-name="org.wso2.carbon.automation.engine.testlisteners.TestReportListener"/>
<listener class-name="org.wso2.carbon.automation.engine.testlisteners.TestSuiteListener"/>
<listener class-name="org.wso2.carbon.automation.engine.testlisteners.TestTransformerListener"/>
<listener class-name="org.wso2.identity.integration.test.listeners.IdentityTestListener"/>
<listener class-name="org.wso2.identity.integration.test.base.SMTPServerInitializerListener"/>
</listeners>
<test name="is-tests-initialize" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.IdentityServerTestSuitInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.base.TomcatInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.base.LDAPServerInitializerTestCase"/>
</classes>
</test>
<!--Disabling since the WS-Trust functionality is provided as a connector and it does not exist in the product by default.-->
<!--<test name="is-tests-default-configuration-sts" preserve-order="true" parallel="false" group-by-instances="true">-->
<!--<!– Active sts test case needs to run before passive sts test case–>-->
<!--<classes>-->
<!--<class name="org.wso2.identity.integration.test.sts.ActiveSTSTestCase"/>-->
<!--</classes>-->
<!--</test>-->
<test name="is-tests-default-configuration" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2PKCETestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2DeviceFlowTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2PushedAuthRequestTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ResponseModeTestCase"/>
<class name="org.wso2.identity.integration.test.consent.ConsentMgtTestCase"/>
<class name="org.wso2.identity.integration.test.user.export.UserInfoExportTestCase" />
<class name="org.wso2.identity.integration.test.consent.SelfSignUpConsentTest"/>
<class name="org.wso2.identity.integration.test.oauth2.OIDCDiscoveryTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OIDCMetadataTest"/>
<class name="org.wso2.identity.integration.test.oauth2.Oauth2JWKSEndpointTestCase"/>
<!--<class name="org.wso2.identity.integration.test.identity.governance.AdminForcedPasswordResetTestCase"/>-->
<class name="org.wso2.identity.integration.test.user.mgt.UserMgtTestCase"/>
<class name="org.wso2.identity.integration.test.user.mgt.UserMgtUISecurityTestCase"/>
<class name="org.wso2.identity.integration.test.scim.SCIMServiceProviderUserTestCase" />
<class name="org.wso2.identity.integration.test.scim.SCIMServiceProviderGroupTestCase" />
<class name="org.wso2.identity.integration.test.application.mgt.ImportExportServiceProviderTest"/>
<class name="org.wso2.identity.integration.test.application.mgt.ApplicationTemplateMgtTestCase"/>
<!--<class name="org.wso2.identity.integration.test.application.mgt.DefaultAuthSeqManagementTestCase"/>-->
<class name="org.wso2.identity.integration.test.user.account.connector.UserAccountConnectorTestCase"/>
<class name="org.wso2.identity.integration.test.AuthenticationAdminTestCase"/>
<class name="org.wso2.identity.integration.test.identity.mgt.AccountLockEnabledTestCase"/>
<class name="org.wso2.identity.integration.test.identity.mgt.IdentityGovernanceTestCase"/>
<!--Disabling since the Challenge Question is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.challenge.questions.mgt.ChallengeQuestionManagementAdminServiceTestCase"/>-->
<class name="org.wso2.identity.integration.test.user.store.config.UserStoreConfigAdminTestCase"/>
<class name="org.wso2.identity.integration.test.user.store.config.UserStoreConfigTestForIDENTITY5573"/>
<class name="org.wso2.identity.integration.test.user.store.config.UserStoreDeployerTestCase"/>
<class name="org.wso2.identity.integration.test.user.store.ClaimMappingsOnSecondaryUserStoreTestCase"/>
<class name="org.wso2.identity.integration.test.user.store.JDBCUserStoreAddingTestCase"/>
<class name="org.wso2.identity.integration.test.user.store.OrganizationSecondaryUserStoreTestCase"/>
<class name="org.wso2.identity.integration.test.user.store.LegacyJDBCUserStoreAddingTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2RequestObjectSignatureValidationTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2IDTokenEncryptionTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2TokenRevokeWithInvalidClientCredentialsTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceErrorResponseTest"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuthAdminServiceTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceRefreshTokenGrantTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2RoleClaimTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ScopesTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.PermissionBasedScopeValidatorTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceAuthCodeGrantTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCAuthzCodeIdTokenValidationTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCSPWiseSkipLoginConsentTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.consented.token.OAuth2ServiceAuthCodeGrantJWTAccessTokenWithConsentedTokenColumnTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.consented.token.OAuth2ServicePasswordGrantJWTAccessTokenWithConsentedTokenColumnTestCase"/>
<class name="org.wso2.identity.integration.test.user.profile.mgt.UserProfileMgtTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SPMetadataTestCase"/>
<class name="org.wso2.identity.integration.test.saml.IDPMetadataTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLMetadataTestCase"/>
<class name="org.wso2.identity.integration.test.idp.mgt.IdentityProviderManagementTestCase" />
<class name="org.wso2.identity.integration.test.requestPathAuthenticator.RequestPathBasicAuthenticationSSOTest" />
<class name="org.wso2.identity.integration.test.idp.mgt.IdentityProviderMgtServiceTestCase" />
<class name="org.wso2.identity.integration.test.idp.mgt.ResidentIDPConfigsTestCase" />
<class name="org.wso2.identity.integration.test.idp.mgt.PreferenceAPIIntegrationUITestCase" />
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceSAML2BearerGrantTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceClientCredentialTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceImplicitGrantTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceIntrospectionTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ApplicationAccessTokenIntrospectionTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.SystemScopePermissionValidationTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceRegexCallbackUrlTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceResourceOwnerTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCAuthCodeGrantSSOTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCSubAttributeTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCSSOConsentTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCRPInitiatedLogoutTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCAuthCodeGrantSSODifferentSubjectIDTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OIDCCustomScopesLoginTest"/>
<class name="org.wso2.identity.integration.test.requestPathAuthenticator.SAMLWithRequestPathAuthenticationTest" />
<class name="org.wso2.identity.integration.test.saml.SAMLErrorResponseTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLFederationDynamicQueryParametersTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLInvalidIssuerTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLSSOTestCase"/>
<class name="org.wso2.identity.integration.test.sts.TestPassiveSTS"/>
<class name="org.wso2.identity.integration.test.saml.SAMLIdPInitiatedSLOTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLIdPInitiatedSSOTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLSSOConsentTestCase"/>
<!--Disabling since the Challenge Question is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.postAuthnHandler.ChallengeQuestionPostAuthnHandlerTestCase"/>-->
<class name="org.wso2.identity.integration.test.oauth2.dcrm.api.OAuthDCRMTestCase"/>
<class name="org.wso2.identity.integration.test.functions.library.mgt.FunctionLibraryManagementTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2TokenRevocationWithRevokedAccessToken" />
<class name="org.wso2.identity.integration.test.oauth2.OAuth2TokenRevocationAfterAccountDisablingTestCase" />
<class name="org.wso2.identity.integration.test.oauth2.OAuth2BackChannelLogoutTestCase" />
<class name="org.wso2.identity.integration.test.oauth2.Oauth2OPIframeTestCase" />
<class name="org.wso2.identity.integration.test.CrossProtocolLogoutTestCase"/>
<!-- Temporarily Coomenting out following test case cause, its not running on JDK 11-->
<!-- Ref : https://github.com/wso2/product-is/issues/14041-->
<!-- <class name="org.wso2.identity.integration.test.saml.SAMLARTRESOLVETestCase"/>-->
<class name="org.wso2.identity.integration.test.identityServlet.ExtendSessionEndpointAuthCodeGrantTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2TokenRevocationWithSessionTerminationTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2TokenRevocationWithMultipleSessionTerminationTestCase"/>
<class name="org.wso2.identity.integration.test.applicationNativeAuthentication.ApplicationNativeAuthenticationTestCase"/>
<class name="org.wso2.identity.integration.test.applicationNativeAuthentication.ApplicationNativeAuthentication2FATestCase"/>
<class name="org.wso2.identity.integration.test.apiAuthorization.RBACWithAPIAuthorizationTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionSuccessPasswordGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionSuccessClientCredentialsGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionSuccessCodeGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionSuccessRefreshTokenGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionFailureCodeGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionFailurePasswordGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionFailureClientCredentialsGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionFailureRefreshTokenGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionWithRulesAtPasswordGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.PreIssueAccessTokenActionWithRulesAtAuthorizationCodeGrantTestCase"/>
<class name="org.wso2.identity.integration.test.actions.preupdatepassword.PreUpdatePasswordActionSuccessTestCase"/>
<class name="org.wso2.identity.integration.test.actions.preupdatepassword.PreUpdatePasswordActionFailureTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCHybridFlowIntegrationTest"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2RichAuthorizationRequestsTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2RichAuthorizationRequestsGrantTypesTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.Oauth2ImpersonationTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCAccessTokenAttributesTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2AuthorizationCodeGrantJWTTokenTestCase"/>
<class name="org.wso2.identity.integration.test.recovery.PasswordRecoveryTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCIdentityFederationTestCase"/>
<class name="org.wso2.identity.integration.test.auth.PasswordlessSMSOTPAuthTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuthAppsWithSameClientIdTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCPasswordGrantTest"/>
<class name="org.wso2.identity.integration.test.saml.RegistryMountTestCase"/>
<class name="org.wso2.identity.integration.test.claim.metadata.mgt.ClaimProfilesWithSCIM2SchemaTest"/>
<class name="org.wso2.identity.integration.test.user.profile.mgt.SharedUserProfileClaimMgtTestCase"/>
<class name="org.wso2.identity.integration.test.notification.template.mgt.OrganizationNotificationOrgTemplatesTestCase"/>
<class name="org.wso2.identity.integration.test.claim.metadata.mgt.ClaimUniquenessValidationTestCase"/>
<class name="org.wso2.identity.integration.test.apiAuthorization.APIResourceInheritanceTestCase"/>
</classes>
</test>
<test name="is-test-rest-api" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<!--Test cases for user REST APIs-->
<!--Disabling since the Challenge Question is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.rest.api.user.challenge.v1.UserMeSuccessTest"/>-->
<!--<class name="org.wso2.identity.integration.test.rest.api.user.challenge.v1.UserMeNegativeTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.user.association.v1.UserMeSuccessTestBase"/>
<class name="org.wso2.identity.integration.test.rest.api.user.association.v1.UserMeNegativeTestBase"/>
<class name="org.wso2.identity.integration.test.rest.api.user.association.v1.UserAdminAssociationSuccessBaseTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.association.v1.UserAdminAssociationNegativeBaseTest"/>
<!--Disabling since the workflow is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.rest.api.user.approval.v1.UserMeApprovalTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v1.MeAuthorizedAppsNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v1.MeAuthorizedAppsSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v2.MeAuthorizedAppsSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v2.MeAuthorizedAppsNegativeTest"/>
<!--TODO: Temporary disabled MeAuthorizedAppsScopeTest. Enable after fixing https://github.com/wso2/product-is/issues/13230. -->
<!-- <class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v2.MeAuthorizedAppsScopeTest"/> -->
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v2.ApplicationAuthorizedAppsNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v2.ApplicationAuthorizedAppsSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.session.v1.UserSessionTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.session.v1.UserSessionMeSuccessTest"/>
<!-- <class name="org.wso2.identity.integration.test.rest.api.user.session.v1.UserSessionAdminSuccessTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.user.application.v1.UserDiscoverableApplicationSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.application.v1.UserDiscoverableApplicationFailureTest"/>
<!--Test cases for server REST APIs-->
<!--Disabling since the Challenge Question is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.rest.api.server.challenge.v1.ServerChallengeTestCase"/>-->
<class name="org.wso2.identity.integration.test.rest.api.server.claim.management.v1.ClaimManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.claim.management.v1.ClaimManagementNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.email.template.v1.EmailTemplatesPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.email.template.v1.EmailTemplatesNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.email.template.v2.EmailTemplatesPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.email.template.v2.EmailTemplatesNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationTypesPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationEmailTemplatesPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationSMSTemplatesPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationSystemTemplatesPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationTemplateFunctionsPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationEmailTemplatesNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationSMSTemplatesNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationSystemTemplatesNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.template.v1.NotificationTemplateFunctionsNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationMetadataPositiveTest"/>
<!-- Disabling /user/{user-id}/* type of API tests as they will not be exposed in 5.9.0 -->
<!--<class name="org.wso2.identity.integration.test.rest.api.user.challenge.v1.UserSuccessTest"/>-->
<!--<class name="org.wso2.identity.integration.test.rest.api.user.challenge.v1.UserNegativeTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.server.identity.governance.v1.IdentityGovernanceSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.identity.governance.v1.IdentityGovernanceFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.permission.management.v1.PermissionManagementTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.keystore.management.v1.KeystoreManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.keystore.management.v1.KeystoreManagementFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.idp.v1.IdPSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.idp.v1.IdPFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.user.store.v1.UserStoreSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.user.store.v1.UserStoreFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationManagementFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationImportExportTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationPatchTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationManagementSAMLSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationManagementOAuthSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationManagementOAuthFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationManagementPassiveStsSuccessTest"/>
<!--Disabling since the WS-Trust functionality is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationManagementWSTrustTest"/>-->
<!--Disabling the test until the application templates are restructured.-->
<!--<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationTemplateManagementSuccessTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.server.application.management.v1.ApplicationTemplateManagementFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.script.library.v1.ScriptLibrarySuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.script.library.v1.ScriptLibraryFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.oidc.scope.management.v1.OIDCScopeManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.oidc.scope.management.v1.OIDCScopeManagementFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.configs.v1.ConfigSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.configs.v1.ConfigFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.cors.v1.CORSSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.cors.v1.CORSFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.tenant.management.v1.TenantSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.tenant.management.v1.TenantFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.sender.v1.NotificationSenderSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.notification.sender.v1.NotificationSenderFailureTest"/>
<!-- Disabling the SecretManagement api tests as the api is removed from the access control -->
<!--<class name="org.wso2.identity.integration.test.rest.api.server.secret.management.v1.SecretManagementSuccessTest"/>-->
<!--<class name="org.wso2.identity.integration.test.rest.api.server.secret.management.v1.SecretManagementFailureTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.server.branding.preference.management.v1.BrandingPreferenceManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.branding.preference.management.v1.BrandingPreferenceManagementFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.branding.preference.management.v1.AppBrandingPreferenceManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.branding.preference.management.v1.AppBrandingPreferenceManagementFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.selfRegister.SelfRegisterTestCase"/>
<class name="org.wso2.identity.integration.test.rest.api.user.selfRegister.SelfRegisterTenantedTestCase"/>
<class name="org.wso2.identity.integration.test.rest.api.server.admin.advisory.management.v1.AdminAdvisoryManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.organization.management.v1.OrganizationManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.organization.management.v1.OrganizationManagementFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.action.management.v1.preissueaccesstoken.PreIssueAccessTokenActionSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.action.management.v1.preissueaccesstoken.PreIssueAccessTokenActionFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.action.management.v1.preupdatepassword.PreUpdatePasswordActionSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.action.management.v1.preupdatepassword.PreUpdatePasswordActionFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.action.management.v1.preupdateprofile.PreUpdateProfileActionSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.action.management.v1.preupdateprofile.PreUpdateProfileActionFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.extension.management.v1.ExtensionManagementSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.authenticator.management.v1.AuthenticatorSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.authenticator.management.v1.AuthenticatorFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.rules.metadata.v1.RulesMetadataSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.rules.metadata.v1.RulesMetadataFailureTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.user.sharing.management.v1.UserSharingSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.registration.management.v1.RegistrationManagementPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.registration.management.v1.RegistrationManagementNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.registration.execution.v1.RegistrationExecutionPositiveTest"/>
<class name="org.wso2.identity.integration.test.rest.api.server.registration.execution.v1.RegistrationExecutionNegativeTest"/>
</classes>
</test>
<test name="is-tests-scim2" preserve-order="true" parallel="false">
<classes>
<class name="org.wso2.identity.integration.test.scim2.SCIM2PaginationTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.SCIM2UserTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.SCIM2GroupTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.SCIM2RoleTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.SCIM2MeTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.SCIM2MultiAttributeUserFilterTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.rest.api.SCIMUserUpdateTest"/>
<class name="org.wso2.identity.integration.test.scim2.rest.api.SCIM2SchemasTest"/>
<class name="org.wso2.identity.integration.test.scim2.rest.api.customSchema.SCIM2CustomSchemaUserTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.rest.api.customSchema.SCIM2CustomSchemaMeTestCase"/>
</classes>
</test>
<!--This test block, is-test-adaptive-authentication, executes adaptive script-related integration tests
using the default script engine of product-is, which is GraalJS. There is no additional configurations
or initialize scripts required for the moment. Currently, this test block supports JDK runtimes
up to version 21.
-->
<test name="is-test-adaptive-authentication" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.auth.AdaptiveScriptTemporaryClaimPersistenceTestCase"/>
<class name="org.wso2.identity.integration.test.auth.SecondaryStoreUserLoginTestCase"/>
<class name="org.wso2.identity.integration.test.auth.HttpMethodsTestCase" />
<!-- This test has a restart-->
<class name="org.wso2.identity.integration.test.auth.RiskBasedLoginTestCase" />
</classes>
</test>
<!--This test block, is-test-adaptive-authentication-nashorn, runs adaptive script-related integration tests
specifically enabling the Nashorn script engine in product-is using a deployment.toml configuration.
The NashornAdaptiveScriptInitializerTestCase is responsible for downloading the necessary jars
to enable the Nashorn engine.
Two different Nashorn engines are used based on JDK runtime compatibility in integration tests:
Nashorn: Supports JDK runtimes up to version 15.
OpenJDKNashorn: Supports JDK runtimes above version 15.
-->
<test name="is-test-adaptive-authentication-nashorn" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="scriptEngine" value="nashorn"/>
<classes>
<class name="org.wso2.identity.integration.test.auth.NashornAdaptiveScriptInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.auth.AdaptiveScriptTemporaryClaimPersistenceTestCase"/>
<class name="org.wso2.identity.integration.test.auth.SecondaryStoreUserLoginTestCase"/>
<class name="org.wso2.identity.integration.test.auth.HttpMethodsTestCase" />
</classes>
</test>
<!--This test block executes RiskBasedLoginTestCase specifically on nashorn. Required initialization is done by the
test class itself.
Two different Nashorn engines are used based on JDK runtime compatibility in integration tests:
Nashorn: Supports JDK runtimes up to version 15.
OpenJDKNashorn: Supports JDK runtimes above version 15.
-->
<test name="is-test-adaptive-authentication-nashorn-with-restart" preserve-order="true" parallel="false" group-by-instances="true">
<parameter name="scriptEngine" value="nashorn"/>
<classes>
<!-- This test has a restart-->
<class name="org.wso2.identity.integration.test.auth.RiskBasedLoginTestCase" />
</classes>
</test>
<test name="is-tests-default-configuration-ldap" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.base.LDAPUserStoreInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.user.mgt.ReadWriteLdapBasedUserMgtTestCase"/>
<class name="org.wso2.identity.integration.test.user.mgt.ReadWriteLDAPUserStoreManagerTestCase"/>
</classes>
</test>
<test name="is-tests-uuid-user-store" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<!-- This initializer test should run before running other tests. This will copy the relevant services that
needs to run the new test cases.-->
<class name="org.wso2.identity.integration.test.user.mgt.uuid.UUIDUserManagerInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.user.mgt.uuid.ReadWriteLDAPUUIDUMTestCase"/>
<class name="org.wso2.identity.integration.test.user.mgt.uuid.JDBCUUIDUMTestCase"/>
</classes>
</test>
<!--
====================================================================================================================
IMPORTANT : All the tests below this section, should be the ones that requires additional Identity Server
instance.
To minimize the number of restarts, at each test, additional instance is started before all the tests in the
below tag and stopped at the end.
====================================================================================================================
-->
<test name="is-tests-federation" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.base.SecondaryCarbonServerInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.applicationNativeAuthentication.ApplicationNativeAuthenticationFederationTestCase"/>
<class name="org.wso2.identity.integration.test.sts.TestPassiveSTSFederation"/>
<!--TODO: Temporary disabled ConditionalAuthenticationTestCase. Enable after fixing the issues. -->
<!--<class name="org.wso2.identity.integration.test.auth.ConditionalAuthenticationTestCase" />-->
<class name="org.wso2.identity.integration.test.provisioning.ProvisioningTestCase"/>
<!--Disabling since the workflow is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.workflow.mgt.WorkflowManagementTestCase"/>-->
<class name="org.wso2.identity.integration.test.provisioning.JustInTimeProvisioningTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCFederatedIdpInitLogoutTest"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2TokenExchangeGrantTypeTestCase" />
<class name="org.wso2.identity.integration.test.oauth2.FederatedTokenSharingTestCase" />
<class name="org.wso2.identity.integration.test.oauth2.FederatedTokenSharingIDPConfigDisabledTestCase" />
</classes>
</test>
<!--
====================================================================================================================
IMPORTANT : All the tests below this section, should be the ones that requires configuration changes and
restarts.
To minimize the number of restarts, at each test, do the configuration update and restart. Then do the test
and finally restore the configuration without restarting. The next test will perform the restart with the
configuration changes required for it.
If multiple tests can be run with one configuration change, group them into a test group and do the above at
@BeforeTest, and @AfterTest. See 'is-tests-jdbc-userstore' for example.
====================================================================================================================
-->
<test name="is-tests-federation-restart" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.base.SecondaryCarbonServerInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLFederationWithFileBasedSPAndIDPTestCase"/>
<class name="org.wso2.identity.integration.test.saml.ChangeACSUrlTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.JITUserAssociationTestCase"/>
</classes>
</test>
<test name="is-tests-jdbc-userstore" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.base.JDBCUserStoreInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.user.mgt.JDBCBasedUserMgtTestCase"/>
<class name="org.wso2.identity.integration.test.user.mgt.JDBCUserStoreManagerTestCase"/>
</classes>
</test>
<test name="is-tests-read-only-userstore" preserve-order="true" parallel="false" group-by-instances="true" >
<classes>
<class name="org.wso2.identity.integration.test.base.ReadOnlyUserStoreInitializerTestCase"/>
<class name="org.wso2.identity.integration.test.scim2.rest.api.SCIMUserUpdateReadOnlyTest"/>
<class name="org.wso2.identity.integration.test.user.mgt.ReadOnlyLDAPUserStoreManagerTestCase"/>
</classes>
</test>
<test name="is-tests-oauth-jwt-token-gen-enabled" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceAuthCodeGrantOpenIdRequestObjectTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OpenIdUserInfoTestCase"/>
</classes>
</test>
<test name="is-tests-email-username" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.user.mgt.CARBON15051EmailLoginTestCase"/>
</classes>
</test>
<test name="is-tests-with-individual-configuration-changes" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceResourceOwnerLockedTestCase"/>
<class name="org.wso2.identity.integration.test.application.mgt.ServiceProviderUserRoleValidationTestCase"/>
<class name="org.wso2.identity.integration.test.provisioning.DBSeperationTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCFileBasedSkipLoginConsentTestCase"/>
<class name="org.wso2.identity.integration.test.scim.IDENTITY4776SCIMServiceWithOAuthTestCase"/>
<class name="org.wso2.identity.integration.test.identity.mgt.UserInformationRecoveryServiceTenantEmailUserTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.Oauth2HashAlgorithmTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.Oauth2PersistenceProcessorInsertTokenTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.Oauth2PersistenceProcessorTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2ServiceJWTGrantTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.Oauth2TokenRenewalPerRequestTestCase"/>
<!--<class name="org.wso2.identity.integration.test.saml.SAMLECPSSOTestCase"/>-->
<class name="org.wso2.identity.integration.test.user.profile.mgt.UserProfileAdminTestCase"/>
<class name="org.wso2.identity.integration.test.idp.mgt.ChallengeQuestionsUITestCase"/>
<class name="org.wso2.identity.integration.test.identity.mgt.AccountLockWhileCaseInsensitiveUserFalseTestCase"/>
<class name="org.wso2.identity.integration.test.EmailOTPTestCase"/>
<class name="org.wso2.identity.integration.test.rest.api.user.liteUserRegister.LiteUserRegisterTestCase"/>
<class name="org.wso2.identity.integration.test.oauth2.OAuth2TokenScopeValidatorTestCase" />
<class name="org.wso2.identity.integration.test.saml.SAMLSSOForAdminLoginTestCase"/>
<class name="org.wso2.identity.integration.test.organizationDiscovery.OrganizationDiscoveryTestCase"/>
<class name="org.wso2.identity.integration.test.recovery.UsernameRecoveryTestCase"/>
</classes>
</test>
<test name="is-tests-saml-query-profile" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.saml.SAMLQueryProfileTestBase"/>
<class name="org.wso2.identity.integration.test.saml.SAMLQueryProfileTestCase"/>
</classes>
</test>
<test name="is-tests-default-encryption" preserve-order="true" parallel="false" group-by-instances="true">
<classes>
<class name="org.wso2.identity.integration.test.encryption.EventPublisherPasswordEncryptionTestCase"/>
</classes>
</test>
</suite>