forked from mosip/mosip-functional-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sohan Kumar Dey <[email protected]>
- Loading branch information
Showing
10 changed files
with
5,277 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | ||
|
||
<suite name="Idrepository Suite"> | ||
<!-- Passing Group as parmeter unsing "testType" Possible Groups are: smoke | ||
regression smokeAndRegression --> | ||
<listeners> | ||
<listener class-name="io.mosip.testrig.apirig.report.CustomTestNGReporter" /> | ||
<listener | ||
class-name="io.mosip.testrig.apirig.authentication.fw.util.AuthenticationTestsListener" /> | ||
<listener class-name="io.mosip.testrig.apirig.authentication.e2e.E2EReport" /> | ||
<listener class-name="io.mosip.testrig.apirig.customReport.EmailableReport" /> | ||
</listeners> | ||
|
||
|
||
|
||
<test name="AddIdentity"> | ||
<parameter name="ymlFile" | ||
value="idRepository/AddIdentity/AddIdentity.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.AddIdentity" /> | ||
</classes> | ||
</test> | ||
<test name="CreateVID"> | ||
<parameter name="ymlFile" value="idRepository/CreateVID/CreateVid.yml" /> | ||
<parameter name="idKeyName" value="VID" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
<!-- <test name="GetUpdateCount"> | ||
<parameter name="ymlFile" | ||
value="idRepository/GetUpdateCount/GetUpdateCount.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> --> | ||
<test name="RetrieveIdentityByRid"> | ||
<parameter name="ymlFile" value="idRepository/RetrieveIdentityByRid/RetrieveIdentityByRid.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="UpdateIdentity"> | ||
<parameter name="ymlFile" | ||
value="idRepository/UpdateIdentity/UpdateIdentity.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.UpdateIdentity" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="RetrieveVIDByUIN"> | ||
<parameter name="ymlFile" value="idRepository/RetrieveVIDByUIN/RetrieveVIDByUIN.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> | ||
|
||
|
||
<test name="UpdateVIDStatus"> | ||
<parameter name="ymlFile" | ||
value="idRepository/UpdateVIDStatus/UpdateVidStatus.yml" /> | ||
<parameter name="pathParams" value="VID" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PatchWithPathParamsAndBody" /> | ||
</classes> | ||
</test> | ||
<test name="DeactivateVIDs"> | ||
<parameter name="ymlFile" value="idRepository/DeactivateVid/DeactivateVid.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="RetrieveIdentityByUin"> | ||
<parameter name="ymlFile" value="idRepository/RetrieveIdentityByUin/RetrieveIdentityByUin.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> | ||
<test name="RetrieveUINByVID"> | ||
<parameter name="ymlFile" value="idRepository/RetrieveUINByVID/RetrieveUINByVID.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> | ||
<test name="ReactivateVIDs"> | ||
<parameter name="ymlFile" value="idRepository/ReactivateVIDsForUIN/ReactivateVIDsForUIN.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
<test name="RegenerateVid"> | ||
<parameter name="ymlFile" value="idRepository/RegenerateVid/RegenerateVid.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PostWithOnlyPathParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="CreateDraft"> | ||
<parameter name="ymlFile" value="idRepository/CreateDraft/CreateDraft.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PostWithOnlyPathParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="GetDraft"> | ||
<parameter name="ymlFile" value="idRepository/GetDraft/GetDraft.yml" /> | ||
<parameter name="idKeyName" value="UIN" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="CreateDraftVID"> | ||
<parameter name="ymlFile" value="idRepository/CreateDraftVID/CreateDraftVID.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
|
||
|
||
<test name="UpdateDraft"> | ||
<parameter name="ymlFile" value="idRepository/UpdateDraft/UpdateDraft.yml" /> | ||
<parameter name="pathParams" value="registrationId" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.UpdateDraft" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="PublishDraft"> | ||
<parameter name="ymlFile" value="idRepository/PublishDraft/PublishDraft.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="ExtractBiometrics"> | ||
<parameter name="ymlFile" value="idRepository/ExtractBiometrics/ExtractBiometrics.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PutWithPathParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="DeleteDraft"> | ||
<parameter name="ymlFile" value="idRepository/DeleteDraft/DeleteDraft.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.DeleteWithParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="AuthInternalLock"> | ||
<parameter name="ymlFile" value="idRepository/AuthInternalLock/AuthInternalLock.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePost" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="RetrieveAuthTypeStatus"> | ||
<parameter name="ymlFile" value="idRepository/RetrieveAuthTypeStatus/RetrieveAuthTypeStatus.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParam" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="AuthInternalUnlock"> | ||
<parameter name="ymlFile" value="idRepository/AuthInternalUnlock/AuthInternalUnlock.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePost" /> | ||
</classes> | ||
</test> | ||
|
||
</suite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | ||
|
||
<suite name="Prerequisite Suite"> | ||
<!-- Passing Group as parmeter unsing "testType" Possible Groups are: smoke | ||
regression smokeAndRegression --> | ||
<listeners> | ||
<listener class-name="io.mosip.testrig.apirig.report.CustomTestNGReporter" /> | ||
<listener | ||
class-name="io.mosip.testrig.apirig.authentication.fw.util.AuthenticationTestsListener" /> | ||
<listener class-name="io.mosip.testrig.apirig.authentication.e2e.E2EReport" /> | ||
<listener class-name="io.mosip.testrig.apirig.customReport.EmailableReport" /> | ||
</listeners> | ||
|
||
|
||
<!-- <test name="CreateMachine"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/Machine/CreateMachine.yml" /> | ||
<parameter name="idKeyName" value="id" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" /> | ||
</classes> | ||
</test> | ||
<test name="CreateIdSchema"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/IdSchema/CreateIdSchema.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePost" /> | ||
</classes> | ||
</test> | ||
<test name="UpdateIdSchema"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/UpdateIdSchema/UpdateIdSchema.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePut" /> | ||
</classes> | ||
</test> | ||
<test name="CreateZoneUser"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/ZoneUser/CreateZoneUser.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePost" /> | ||
</classes> | ||
</test> | ||
<test name="UpdateZoneUserStatus"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/UpdateZoneUserStatus/UpdateZoneUserStatus.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PatchWithPathParam" /> | ||
</classes> | ||
</test> | ||
<test name="UserCenterMapping"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/UserCenterMapping/UserCenterMapping.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePost" /> | ||
</classes> | ||
</test> | ||
<test name="UpdateUserCenterMappingStatus"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/UpdateUserCenterMappingStatus/UpdateUserCenterMappingStatus.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.PatchWithPathParam" /> | ||
</classes> | ||
</test> --> | ||
|
||
<!-- <test name="AddUser"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/AddUser/AddUser.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForKeyCloak" /> | ||
</classes> | ||
</test> | ||
<test name="DeleteUser"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/DeleteUser/DeleteUser.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.DeleteWithParamForKeyCloak" /> | ||
</classes> | ||
</test> | ||
<test name="GetRoleIdForAllRoles"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/GetRoleIdForAllRoles/GetRoleIdForAllRoles.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenIdForKeyCloak" /> | ||
</classes> | ||
</test>--> | ||
|
||
|
||
<test name="AddUser"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/AddUser/AddUser.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForKeyCloak" /> | ||
</classes> | ||
</test> | ||
<test name="GetUserDetails"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/GetUserDetails/GetUserDetails.yml" /> | ||
<parameter name="idKeyName" value="id" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenIdForKeyCloak" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="GetRoleIdForAllRoles"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/GetRoleIdForAllRoles/GetRoleIdForAllRoles.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenIdForKeyCloak" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="MapRolesToUser"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/MapRolesToUser/MapRolesToUser.yml" /> | ||
<parameter name="pathParams" value="username" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.SimplePostForKeyCloak" /> | ||
</classes> | ||
</test> | ||
|
||
<test name="DeleteUser"> | ||
<parameter name="ymlFile" | ||
value="prerequisite/KeyCloak/DeleteUser/DeleteUser.yml" /> | ||
<classes> | ||
<class name="io.mosip.testrig.apirig.testscripts.DeleteWithParamForKeyCloak" /> | ||
</classes> | ||
</test> | ||
|
||
|
||
</suite> |
Oops, something went wrong.