From 584a9ca8732bb76f6bd0a2e0e32938e3462aa3a0 Mon Sep 17 00:00:00 2001 From: Sohan Kumar Dey <72375959+Sohandey@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:37:27 +0530 Subject: [PATCH] MOSIP-34894 Signed-off-by: Sohan Kumar Dey <72375959+Sohandey@users.noreply.github.com> --- .../DemoAuthSimplePostForAutoGenId.java | 4 +- .../testscripts/MultiFactorAuthNew.java | 8 +- .../apirig/testscripts/OtpAuthNew.java | 7 +- .../main/resources/config/Kernel.properties | 75 +++++++++---------- .../resources/ida/AddIdentity/AddIdentity.yml | 2 +- .../main/resources/ida/EkycOtp/EkycOtp2.yml | 42 +++++++++-- .../ida/MultiFactorAuth/MultiFactorAuth2.yml | 71 ++++++++++++++++++ .../main/resources/ida/OtpAuth/OtpAuth2.yml | 30 ++++++++ .../main/resources/ida/OtpAuth/sendOtpRes.hbs | 4 +- 9 files changed, 191 insertions(+), 52 deletions(-) diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java index 60136f52966..932f0ecc451 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java +++ b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java @@ -199,9 +199,9 @@ public void test(TestCaseDTO testCaseDTO) } else { if (testCaseName.contains("partnerDemoDown")) { - url = ConfigManager.getAuthDemoServiceUrl() + "local"; + //url = ConfigManager.getAuthDemoServiceUrl() + "local"; } else { - url = ConfigManager.getAuthDemoServiceUrl(); + //url = ConfigManager.getAuthDemoServiceUrl(); } response = postWithBodyAndCookie(url + testCaseDTO.getEndPoint(), inputJson, COOKIENAME, diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java index 83c031f09f6..10e695c8e55 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java +++ b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java @@ -109,7 +109,11 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad // { // testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partnerKeyURL$", ekycPartnerKeyUrl)); // } + String otpChannel=""; String otpRequest = null, sendOtpReqTemplate = null, sendOtpEndPoint = null, otpIdentyEnryptRequestPath = null; + if(req.has("otpChannel")) { + otpChannel = req.get("otpChannel").toString(); + } if(req.has("sendOtp")) { otpRequest = req.get("sendOtp").toString(); req.remove("sendOtp"); @@ -171,7 +175,9 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad identityRequestEncUrl = identityReqJson.getString("identityRequestEncUrl"); identityReqJson.remove("identityRequestEncUrl"); identityRequest = getJsonFromTemplate(identityReqJson.toString(), identityRequestTemplate); - String identyEnryptRequest = updateTimestampOtp(identityRequest); + otpChannel = inputJsonKeyWordHandeler(otpChannel, testCaseName); + String identyEnryptRequest = updateTimestampOtp(identityRequest, otpChannel, testCaseName); + //String identyEnryptRequest = updateTimestampOtp(identityRequest); String encryptedIdentityReq=null; try { encryptedIdentityReq = bioDataUtil.constractBioIdentityRequest(identyEnryptRequest, getResourcePath()+props.getProperty("bioValueEncryptionTemplate"), testCaseName, false); diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java index 87003ac3bae..62819491a66 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java +++ b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java @@ -102,7 +102,11 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad PartnerRegistration.updatedpartnerKeyUrl)); } JSONObject req = new JSONObject(testCaseDTO.getInput()); + String otpChannel=""; String otpRequest = null, sendOtpReqTemplate = null, sendOtpEndPoint = null, otpIdentyEnryptRequestPath = null; + if(req.has("otpChannel")) { + otpChannel = req.get("otpChannel").toString(); + } if(req.has("sendOtp")) { otpRequest = req.get("sendOtp").toString(); req.remove("sendOtp"); @@ -152,7 +156,8 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad //String id = getAutoGeneratedFieldValue(otpRequest, testCaseName); String otpIdentyEnryptRequest = FileUtil.readInput(getResourcePath()+otpIdentyEnryptRequestPath); - otpIdentyEnryptRequest = updateTimestampOtp(otpIdentyEnryptRequest); + otpChannel = inputJsonKeyWordHandeler(otpChannel, testCaseName); + otpIdentyEnryptRequest = updateTimestampOtp(otpIdentyEnryptRequest, otpChannel, testCaseName); Map bioAuthTempMap = (isInternal) ? encryptDecryptUtil.getInternalEncryptSessionKeyValue(otpIdentyEnryptRequest) diff --git a/apitest/src/main/resources/config/Kernel.properties b/apitest/src/main/resources/config/Kernel.properties index b728b03cd2a..c25e25de3d7 100644 --- a/apitest/src/main/resources/config/Kernel.properties +++ b/apitest/src/main/resources/config/Kernel.properties @@ -136,17 +136,17 @@ AuthClientID = mosip-resident-client #---------------------------------- Client Secret Keys -----------------------# #-- When test rig ran in docker, these values dervied from the environment ---# -mosip_partner_client_secret = vXS7WUyPDpfWYuoz -mosip_pms_client_secret = 5Qj8vn989OL1Vlu6 -mosip_resident_client_secret = SnZQ6nnVwN9YWvdM -mosip_idrepo_client_secret = AeM2TwFuuZygCuvO -mosip_reg_client_secret = DLXygc82rkAkjrwV -mosip_admin_client_secret = Styop9nqkshXMTgj -mosip_hotlist_client_secret = TKyc4cqWymxjiLEsVydX4uME1xU3i9xl -mosip_regproc_client_secret = eyeXdyhO0u2ETibw -mpartner_default_mobile_secret = iCkj8BRZU6hP6MAN -mosip_testrig_client_secret = AonuXbikoWmHP5ug -AuthClientSecret = SnZQ6nnVwN9YWvdM +mosip_partner_client_secret = +mosip_pms_client_secret = +mosip_resident_client_secret = +mosip_idrepo_client_secret = +mosip_reg_client_secret = +mosip_admin_client_secret = +mosip_hotlist_client_secret = +mosip_regproc_client_secret = +mpartner_default_mobile_secret = +mosip_testrig_client_secret = +AuthClientSecret = @@ -158,7 +158,7 @@ s3-account = automation s3-region = null reportExpirationInDays = 3 s3-account-for-persona-data = personaData -push-reports-to-s3 = yes +push-reports-to-s3 = no #-------------------- Keycloak User Creation proprties ----------------------# @@ -168,17 +168,17 @@ new_Resident_Password = mosip123 new_Resident_Role = default-roles-mosip,PARTNER_ADMIN roles.111995 = PARTNER_ADMIN,default-roles-mosip keycloak_UserName = admin -keycloak_Password = sMDr9Ainw9 -keycloak-external-url = https://iam.qa-inji.mosip.net +keycloak_Password = +keycloak-external-url = https://iam.qa1-java21.mosip.net keycloak-realm-id = mosip -iam-users-to-create = 111997,111998,220005,111992,globaladmin,111887,111999 -iam-users-password = mosip123,mosip123,mosip123,mosip123,mosip123 -roles.220005 = GLOBAL_ADMIN,ID_AUTHENTICATION,REGISTRATION_ADMIN,REGISTRATION_SUPERVISOR,ZONAL_ADMIN -roles.111997 = AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,POLICYMANAGER,REGISTRATION_SUPERVISOR -roles.111999 = AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,POLICYMANAGER,REGISTRATION_SUPERVISOR -roles.111887 = AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,REGISTRATION_SUPERVISOR -roles.111998 = POLICYMANAGER -roles.111992 = GLOBAL_ADMIN +iam-users-to-create=111997,111998,220005,111992,globaladmin,111999,111887 +iam-users-password=mosip123,mosip123,mosip123,mosip123,mosip123,mosip123,mosip123 +roles.220005=GLOBAL_ADMIN,ID_AUTHENTICATION,REGISTRATION_ADMIN,REGISTRATION_SUPERVISOR,ZONAL_ADMIN +roles.111997=AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,POLICYMANAGER,REGISTRATION_SUPERVISOR +roles.111999=AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,POLICYMANAGER,REGISTRATION_SUPERVISOR +roles.111887=AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,REGISTRATION_SUPERVISOR +roles.111998=POLICYMANAGER +roles.111992=GLOBAL_ADMIN roles.globaladmin = GLOBAL_ADMIN,REGISTRATION_ADMIN,uma_authorization,ZONAL_ADMIN,default-roles-mosip @@ -189,27 +189,27 @@ pool_size=1 dialect=org.hibernate.dialect.PostgreSQLDialect show_sql=true current_session_context_class=thread -audit_url=jdbc:postgresql://qa-inji.mosip.net:5432/mosip_audit +audit_url=jdbc:postgresql://qa1-java21.mosip.net:5432/mosip_audit audit_username=postgres -audit_password=2BhgiSpCaT +audit_password= audit_default_schema=audit DB_PORT= installation-domain= -partner_url=jdbc:postgresql://qa-inji.mosip.net:5432/mosip_ida +partner_url=jdbc:postgresql://qa1-java21.mosip.net:5432/mosip_ida partner_username=postgres -partner_password=2BhgiSpCaT +partner_password= partner_default_schema=partner reportLogPath=automationLogAndReport postgresqlUser=postgresql db-port=5432 -db-server=qa-inji.mosip.net +db-server=qa1-java21.mosip.net hibernate.connection.driver_class=org.postgresql.Driver hibernate.connection.pool_size=1 hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect hibernate.show_sql=true hibernate.current_session_context_class=thread db-su-user=postgres -postgres-password=2BhgiSpCaT +postgres-password= pms_db_schema=pms km_db_schema=keymgr master_db_schema=master @@ -234,15 +234,16 @@ useExternalScenarioSheet=yes threadCount=1 #------------------------ Generic properties ------------------------# -enableDebug=no +enableDebug=yes preconfiguredOtp=111111 -usePreConfiguredOtp=true +usePreConfiguredOtp=false # supported values yes or no. Assume that by Default e-signet is deployed eSignetDeployed=yes partnerUrlSuffix=oYf63Lax0DY2QkYMRHnrmDqhmO3RMWQagwm0ftgLlkuin1KOND/666/576732 reportIgnoredTestCases=no servicesNotDeployed= esignetMockBaseURL=esignet-insurance. +sunBirdBaseURL=registry slack-webhook-url= serverErrorsToMonitor=IDA-MLC-018 pmsAuthInternal=true @@ -271,15 +272,13 @@ langselect=0 #----------------------------------AuthDemoService Host properties----------------------------------------------------------# #Uncommemnt the below to run locally -#authDemoServiceBaseURL=http://localhost -#authDemoServicePort=8082 -#authCertsPath= +authDemoServiceBaseURL=http://localhost +authDemoServicePort=8082 +authCertsPath= #Uncommemnt the below to run in Docker -authDemoServiceBaseURL=http://authdemo.apitestrig -authDemoServicePort=80 -authCertsPath=/home/mosip/authcerts - - +#authDemoServiceBaseURL=http://authdemo.apitestrig +#authDemoServicePort=80 +#authCertsPath=/home/mosip/authcerts mosip_components_base_urls= diff --git a/apitest/src/main/resources/ida/AddIdentity/AddIdentity.yml b/apitest/src/main/resources/ida/AddIdentity/AddIdentity.yml index 75d9bcef8fc..388ff10ea09 100644 --- a/apitest/src/main/resources/ida/AddIdentity/AddIdentity.yml +++ b/apitest/src/main/resources/ida/AddIdentity/AddIdentity.yml @@ -952,7 +952,7 @@ AddIdentity: "UIN": "$UIN$", "dateOfBirth": "1970/07/08", "postalCode": "14022", - "email": "auth_AddIdentity_Positive_demoauth_name_smoke@mosip.net", + "email": "auth_AddIdentity_deactivate_UIN_smoke_sid_Pos@mosip.net", "phone": "7019858531", "mobileno": "7019858531", "referenceIdentityNumber": "6789545678878", diff --git a/apitest/src/main/resources/ida/EkycOtp/EkycOtp2.yml b/apitest/src/main/resources/ida/EkycOtp/EkycOtp2.yml index ba863747bef..18e18524a40 100644 --- a/apitest/src/main/resources/ida/EkycOtp/EkycOtp2.yml +++ b/apitest/src/main/resources/ida/EkycOtp/EkycOtp2.yml @@ -6,6 +6,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/ekycOtp outputTemplate: ida/EkycOtp/ekycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "$TRANSACTIONID$", @@ -40,6 +41,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "$TRANSACTIONID$", @@ -74,6 +76,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -108,6 +111,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -142,6 +146,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:GetDraft_all_valid_smoke_sid_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GetDraft_all_valid_smoke_sid_UIN$", "transactionId": "$TRANSACTIONID$", @@ -175,6 +180,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/ekycOtp outputTemplate: ida/EkycOtp/ekycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -209,6 +215,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "2022-05-19T06:29:44.809Z", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "$TRANSACTIONID$", @@ -243,6 +250,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "2022-05-19T06:29:44.809Z", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -278,6 +286,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "2052-05-19T06:29:44.809Z", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "$TRANSACTIONID$", @@ -312,6 +321,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "2052-05-19T06:29:44.809Z", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -347,6 +357,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "2dhdh.809Z", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "$TRANSACTIONID$", @@ -381,6 +392,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -415,6 +427,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:GenerateVID_to_revoke_Perpetual_sid_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_to_revoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -455,6 +468,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "ddhdhdh_dy46746", "transactionId": "$TRANSACTIONID$", @@ -495,6 +509,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$464747$", "transactionId": "$TRANSACTIONID$", @@ -535,6 +550,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "", "transactionId": "$TRANSACTIONID$", @@ -574,6 +590,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "", "transactionId": "$TRANSACTIONID$", @@ -613,6 +630,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$REMOVE$", "transactionId": "$TRANSACTIONID$", @@ -631,7 +649,7 @@ EkycOtp: } }' output: '{ - "kycStatus": "false", + "kycStatus": "false", "errors": [ { "errorCode": "IDA-MLC-006", @@ -653,6 +671,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$REMOVE$", "transactionId": "$TRANSACTIONID$", @@ -671,7 +690,7 @@ EkycOtp: } }' output: '{ - "kycStatus": "false", + "kycStatus": "false", "errors": [ { "errorCode": "IDA-MLC-006", @@ -693,6 +712,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "374GFBFBCB@%%%%^@@@", @@ -711,7 +731,7 @@ EkycOtp: } }' output: '{ - "kycStatus": "false", + "kycStatus": "false", "sendOtpResp":{ "transactionID": "$IGNORE$", "maskedMobile": "$IGNORE$", @@ -727,6 +747,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "36363@@%55677@@@", @@ -745,7 +766,7 @@ EkycOtp: } }' output: '{ - "kycStatus": "false", + "kycStatus": "false", "sendOtpResp":{ "transactionID": "$IGNORE$", "maskedMobile": "$IGNORE$", @@ -761,6 +782,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "$TRANSACTIONID$", @@ -779,7 +801,7 @@ EkycOtp: } }' output: '{ - "kycStatus": "false", + "kycStatus": "false", "sendOtpResp":{ "transactionID": "$IGNORE$", "maskedMobile": "$IGNORE$", @@ -795,6 +817,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "", @@ -813,7 +836,7 @@ EkycOtp: } }' output: '{ - "kycStatus": "false", + "kycStatus": "false", "sendOtpResp":{ "transactionID": "$IGNORE$", "maskedMobile": "$IGNORE$", @@ -829,6 +852,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -847,7 +871,7 @@ EkycOtp: } }' output: '{ - "kycStatus": "false", + "kycStatus": "false", "sendOtpResp":{ "transactionID": "$IGNORE$", "maskedMobile": "$IGNORE$", @@ -863,6 +887,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/EkycOtpResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -897,6 +922,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "0987654356", @@ -931,6 +957,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "0987654356", @@ -965,6 +992,7 @@ EkycOtp: inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/error input: '{ + "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_Positive_EKYC_smoke_UIN$", "transactionId": "$TRANSACTIONID$", diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml b/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml index dbad4fb35b2..3fe39927dd7 100644 --- a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml +++ b/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml @@ -7,6 +7,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -59,6 +60,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -111,6 +113,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$", "transactionId": "1234567890", @@ -163,6 +166,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:GetDraft_all_valid_smoke_sid_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GetDraft_all_valid_smoke_sid_UIN$", "transactionId": "1234567890", @@ -215,6 +219,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "123@@###4567890", @@ -267,6 +272,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "", @@ -319,6 +325,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -371,6 +378,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:GenerateVID_to_revoke_Perpetual_sid_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_to_revoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -429,6 +437,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "123@@###4567890", @@ -487,6 +496,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "", @@ -545,6 +555,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -597,6 +608,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "", @@ -654,6 +666,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "123@@###4567890", @@ -712,6 +725,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "123@@###4567890", @@ -770,6 +784,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "", @@ -828,6 +843,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -880,6 +896,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -932,6 +949,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234@@###567890", @@ -990,6 +1008,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "", @@ -1048,6 +1067,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1100,6 +1120,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1152,6 +1173,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1204,6 +1226,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1256,6 +1279,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1308,6 +1332,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1360,6 +1385,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1412,6 +1438,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1464,6 +1491,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1516,6 +1544,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1568,6 +1597,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1620,6 +1650,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1672,6 +1703,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1724,6 +1756,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1776,6 +1809,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1828,6 +1862,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1880,6 +1915,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -1932,6 +1968,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -1984,6 +2021,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -2036,6 +2074,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -2088,6 +2127,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -2140,6 +2180,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "12345@@#67890", @@ -2198,6 +2239,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "12345@@#67890", @@ -2256,6 +2298,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "", @@ -2314,6 +2357,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "", @@ -2371,6 +2415,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -2430,6 +2475,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -2489,6 +2535,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -2547,6 +2594,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -2605,6 +2653,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -2663,6 +2712,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -2721,6 +2771,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -2779,6 +2830,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -2873,6 +2925,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -2931,6 +2984,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -2989,6 +3043,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -3051,6 +3106,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3113,6 +3169,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -3171,6 +3228,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3229,6 +3287,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -3287,6 +3346,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3345,6 +3405,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -3403,6 +3464,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3461,6 +3523,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -3519,6 +3582,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3577,6 +3641,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "1234567890", @@ -3635,6 +3700,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3693,6 +3759,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3755,6 +3822,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/MultiFactorAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3815,6 +3883,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3867,6 +3936,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", @@ -3919,6 +3989,7 @@ MultiFactorAuth: inputTemplate: ida/MultiFactorAuth/MultiFactorAuth outputTemplate: ida/MultiFactorAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", "transactionId": "1234567890", diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpAuth2.yml b/apitest/src/main/resources/ida/OtpAuth/OtpAuth2.yml index 003a3ad8932..ba3e039fd16 100644 --- a/apitest/src/main/resources/ida/OtpAuth/OtpAuth2.yml +++ b/apitest/src/main/resources/ida/OtpAuth/OtpAuth2.yml @@ -7,6 +7,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/otpAuth outputTemplate: ida/OtpAuth/otpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -40,6 +41,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -71,6 +73,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -102,6 +105,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_withValidParameters_with_Infant_which_locked_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_withValidParameters_with_Infant_which_locked_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -133,6 +137,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -164,6 +169,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "2022-05-19T06:29:44.809Z", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -195,6 +201,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "2022-05-19T06:29:44.809Z", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -226,6 +233,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "2052-05-19T06:29:44.809Z", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -257,6 +265,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "2052-05-19T06:29:44.809Z", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -288,6 +297,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -319,6 +329,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -350,6 +361,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:GenerateVID_to_revoke_Perpetual_sid_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_to_revoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -380,6 +392,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/otpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "@@###cndjdhe77473838", "transactionId": "$TRANSACTIONID$", @@ -420,6 +433,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/otpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "@@###cndjdhe77473838", "transactionId": "$TRANSACTIONID$", @@ -460,6 +474,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/otpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "", "transactionId": "$TRANSACTIONID$", @@ -498,6 +513,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/otpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "", "transactionId": "$TRANSACTIONID$", @@ -537,6 +553,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$REMOVE$", "transactionId": "$TRANSACTIONID$", @@ -568,6 +585,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$REMOVE$", "transactionId": "$TRANSACTIONID$", @@ -599,6 +617,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "337@@@@%%^^&&**", @@ -630,6 +649,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$123@@@@@", @@ -661,6 +681,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "", @@ -692,6 +713,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "", @@ -723,6 +745,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "76544ddffgg@@@3444", @@ -754,6 +777,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -785,6 +809,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -821,6 +846,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", "transactionId": "$TRANSACTIONID$", @@ -852,6 +878,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", @@ -891,6 +918,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "otp": "12S34@@!#", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionID": "$TRANSACTIONID$", @@ -910,6 +938,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "otp": "128276454", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionID": "$TRANSACTIONID$", @@ -929,6 +958,7 @@ OtpAuth: inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/OtpAuthResult input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", "requestTime": "$TIMESTAMP$", "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", "transactionId": "$TRANSACTIONID$", diff --git a/apitest/src/main/resources/ida/OtpAuth/sendOtpRes.hbs b/apitest/src/main/resources/ida/OtpAuth/sendOtpRes.hbs index c097a14ac60..7b34b36ccd5 100644 --- a/apitest/src/main/resources/ida/OtpAuth/sendOtpRes.hbs +++ b/apitest/src/main/resources/ida/OtpAuth/sendOtpRes.hbs @@ -5,7 +5,7 @@ "errors": "$IGNORE$", "responseTime": "$IGNORE$", "response": { - "maskedMobile": "{{maskedMobile}}", - "maskedEmail": "{{maskedEmail}}" + "maskedMobile": "$IGNORE$", + "maskedEmail": "$IGNORE$" } } \ No newline at end of file