From 25d4b6363618c19cbfd2c76a454c6db6bad9b0fa Mon Sep 17 00:00:00 2001 From: Nandhukumar Date: Mon, 18 Nov 2024 18:43:11 +0530 Subject: [PATCH] MOSIP-37486 Signed-off-by: Nandhukumar --- .../AuthenticateUserNegTC.hbs | 15 - .../AuthenticateUserNegTC.yml | 34 - .../AuthenticateUserNegTCResult.hbs | 1 - .../ClaimDetailsNegTC/ClaimDetailsNegTC.hbs | 4 - .../ClaimDetailsNegTC/ClaimDetailsNegTC.yml | 245 ---- .../ClaimDetailsResultNegTC.hbs | 1 - .../GetIdVerifierNegTC/GetIdVerifierNegTC.hbs | 4 - .../GetIdVerifierNegTC/GetIdVerifierNegTC.yml | 132 --- .../GetIdVerifierResultNegTC.hbs | 1 - .../esignet/GetSlotNegTC/GetSlotNegTC.hbs | 8 - .../esignet/GetSlotNegTC/GetSlotNegTC.yml | 505 --------- .../GetSlotNegTC/GetSlotResultNegTC.hbs | 1 - .../IDTAuthenticationNegTC.hbs | 18 - .../IDTAuthenticationNegTC.yml | 609 ---------- .../IDTAuthenticationNegTCResult.hbs | 1 - .../InitiateIdVerificationNegTC.hbs | 7 - .../InitiateIdVerificationNegTC.yml | 386 ------- .../InitiateIdVerificationResultNegTC.hbs | 1 - .../LinkedAuthenticationWla.yml | 2 +- .../LinkedAuthorizationConsent.yml | 9 +- .../OAuthDetailsRequestNegResultTC.hbs | 1 - .../OAuthDetailsRequestNegTC.hbs | 39 - .../OAuthDetailsRequestNegTC.yml | 1007 ----------------- ...OAuthDetailsWithClaimValueRequestNegTC.hbs | 62 - .../PrepareSignupRedirectNegTC.hbs | 8 - .../PrepareSignupRedirectNegTC.yml | 414 ------- .../PrepareSignupRedirectNegTCResult.hbs | 1 - .../SignupAuthorizeCodeNegTC.hbs | 16 - .../SignupAuthorizeCodeNegTC.yml | 271 ----- .../SignupAuthorizeCodeNegTCResult.hbs | 1 - .../SignupAuthorizeNegTC.hbs | 15 - .../SignupAuthorizeNegTC.yml | 914 --------------- .../SignupAuthorizeNegTCResult.hbs | 1 - .../esignet/WalletBinding/WalletBinding.yml | 6 +- api-test/testNgXmlFiles/esignetSuite.xml | 80 +- 35 files changed, 7 insertions(+), 4813 deletions(-) delete mode 100644 api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTCResult.hbs delete mode 100644 api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsResultNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierResultNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotResultNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTCResult.hbs delete mode 100644 api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationResultNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegResultTC.hbs delete mode 100644 api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsWithClaimValueRequestNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTCResult.hbs delete mode 100644 api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTCResult.hbs delete mode 100644 api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.hbs delete mode 100644 api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.yml delete mode 100644 api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTCResult.hbs diff --git a/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.hbs b/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.hbs deleted file mode 100644 index 43ef2d127..000000000 --- a/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.hbs +++ /dev/null @@ -1,15 +0,0 @@ -{ - "encodedHash": "{{encodedHash}}", - "requestTime": "{{requestTime}}", - "request": { - "transactionId": "{{transactionId}}", - "individualId": "{{individualId}}", - "challengeList" : [ - { - "authFactorType" : "{{authFactorType}}", - "challenge" : "{{challenge}}", - "format": "alpha-numeric" - } - ] - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.yml b/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.yml deleted file mode 100644 index 1f9cc3ada..000000000 --- a/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC.yml +++ /dev/null @@ -1,34 +0,0 @@ -AuthenticateUserV3NegTC: - ESignet_AuthenticateUserNegTC_V3_AuthToken_Xsrf__uin_Otp_Valid_Smoke: - endPoint: /v1/esignet/authorization/v3/authenticate - description: To Authenticate user with all valid data - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTC - outputTemplate: esignet/AuthenticateUserV3/AuthenticateUserResult - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "individualId": "$ID:AddIdentity_L2_Valid_Parameters_smoke_Neg_Pos_UIN$", - "authFactorType" : "OTP", - "challenge" : "$ID:AddIdentity_L2_Valid_Parameters_smoke_Neg_Pos_EMAIL$", - "sendOtp":{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "individualId": "$ID:AddIdentity_L2_Valid_Parameters_smoke_Neg_Pos_UIN$", - "otpChannels": [{channel: "email"},{channel: "phone"}], - "sendOtpReqTemplate": "esignet/SendOtp/SendOtp", - "sendOtpEndPoint": "/v1/esignet/authorization/send-otp" - } - }' - output: '{ - "sendOtpResp":{ - "maskedMobile": "$IGNORE$", - "sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", - "maskedEmail": "$IGNORE$" - } -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTCResult.hbs b/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTCResult.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/AuthenticateUserV3NegTC/AuthenticateUserNegTCResult.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.hbs b/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.hbs deleted file mode 100644 index ead77da28..000000000 --- a/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.hbs +++ /dev/null @@ -1,4 +0,0 @@ -{ - "encodedHash": "{{encodedHash}}", - "transactionId": "{{transactionId}}" -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.yml b/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.yml deleted file mode 100644 index 65630977d..000000000 --- a/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsNegTC.yml +++ /dev/null @@ -1,245 +0,0 @@ -ClaimDetailsNegTC: - ESignet_ClaimDetailsNegTC_Invalid_EncodedHash_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_01 - description: To get ClaimDetails with invalid EncodedHash and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "ggfhjkhgyydiytf", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Null_EncodedHash_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_02 - description: To get ClaimDetails with null value in EncodedHash and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": null, - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Empty_EncodedHash_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_03 - description: To get ClaimDetails with an empty EncodedHash and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Space_Val_EncodedHash_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_04 - description: To get ClaimDetails with space value in EncodedHash and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": " ", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Missing_EncodedHash_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_05 - description: To get ClaimDetails with missing EncodedHash and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$REMOVE$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_invalid_TransactionId_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_06 - description: To get ClaimDetails with invalid TransactionId and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "transactionId": "aojoidncpoailf" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Null_Val_TransactionId_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_07 - description: To get ClaimDetails with null value in TransactionId and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "transactionId": null - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Empty_TransactionId_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_08 - description: To get ClaimDetails with an empty TransactionId and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "transactionId": "" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Space_Val_TransactionId_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_09 - description: To get ClaimDetails with space value in TransactionId and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "transactionId": " " - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - - ESignet_ClaimDetailsNegTC_Missing_TransactionId_Neg: - endPoint: /v1/esignet/authorization/claim-details - uniqueIdentifier: TC_ESignet_ClaimDetailsNegTC_V3_10 - description: To get ClaimDetails with missing TransactionId and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "transactionId": "$REMOVE$" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_ClaimDetailsNegTC_AuthToken_Xsrf_uin_Valid_Smoke: - endPoint: /v1/esignet/authorization/claim-details - description: To get ClaimDetails with and all valid data - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsNegTC - outputTemplate: esignet/ClaimDetailsNegTC/ClaimDetailsResultNegTC - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$" - }' - output: '{ -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsResultNegTC.hbs b/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsResultNegTC.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/ClaimDetailsNegTC/ClaimDetailsResultNegTC.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.hbs b/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.hbs deleted file mode 100644 index 5ad3d59f8..000000000 --- a/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.hbs +++ /dev/null @@ -1,4 +0,0 @@ -{ - "idvTransactionID": "{{idvTransactionID}}", - "verifierId": "{{verifierId}}" -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.yml b/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.yml deleted file mode 100644 index 6dece253a..000000000 --- a/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierNegTC.yml +++ /dev/null @@ -1,132 +0,0 @@ -GetIdVerifierNegTC: - ESignet_GetIdVerifierNegTC_with_invalidVal_in_verifierId_Neg: - endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId} - uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_01 - description: To get the details of specific identity verifier with invalid value in verifierId - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC - outputTemplate: esignet/error - input: '{ - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "7672836gvfbsvbna" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetIdVerifierNegTC_with_space_in_verifierId_Neg: - endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId} - uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_02 - description: To get the details of specific identity verifier with only space in verifierId - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC - outputTemplate: esignet/error - input: '{ - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": " " -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetIdVerifierNegTC_with_space_in_idvTransactionID_Neg: - endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId} - uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_03 - description: To get the details of specific identity verifier with only space in verifierId - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC - outputTemplate: esignet/error - input: '{ - "idvTransactionID": " ", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetIdVerifierNegTC_with_null_in_idvTransactionID_Neg: - endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId} - uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_04 - description: To get the details of specific identity verifier with null in idvTransactionID - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC - outputTemplate: esignet/error - input: '{ - "idvTransactionID": null, - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetIdVerifierNegTC_with_EmptyVal_in_idvTransactionID_Neg: - endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId} - uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_05 - description: To get the details of specific identity verifier with empty value in idvTransactionID - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC - outputTemplate: esignet/error - input: '{ - "idvTransactionID": "", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetIdVerifierNegTC_with_missing_idvTransactionID_Neg: - endPoint: /v1/signup/identity-verification/identity-verifier/{verifierId} - uniqueIdentifier: TC_ESignet_GetIdVerifierNegTC_06 - description: To get the details of specific identity verifier without idvTransactionID - role: resident - restMethod: get - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetIdVerifierNegTC/GetIdVerifierNegTC - outputTemplate: esignet/error - input: '{ - "idvTransactionID": "$REMOVE$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierResultNegTC.hbs b/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierResultNegTC.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/GetIdVerifierNegTC/GetIdVerifierResultNegTC.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.hbs b/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.hbs deleted file mode 100644 index 2ab9b73a1..000000000 --- a/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.hbs +++ /dev/null @@ -1,8 +0,0 @@ -{ - "requestTime": "{{requestTime}}", - "idvTransactionID": "{{idvTransactionID}}", - "request": { - "verifierId": "{{verifierId}}", - "consent": "{{consent}}" - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.yml b/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.yml deleted file mode 100644 index 280ffcb4d..000000000 --- a/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotNegTC.yml +++ /dev/null @@ -1,505 +0,0 @@ -GetSlotNegTC: - ESignet_GetSlot_without_requestTime_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_01 - description: To get the slot ID to begin the video identity verification process without requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$REMOVE$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_EmptyVal_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_02 - description: To get the slot ID to begin the video identity verification process with empty value in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_space_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_03 - description: To get the slot ID to begin the video identity verification process with only space in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": " ", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_invalidVal_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_04 - description: To get the slot ID to begin the video identity verification process with invalid value in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "ggasv541265 ", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_numericVal_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_05 - description: To get the slot ID to begin the video identity verification process with numeric value in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "67567541265", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_futureDate_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_06 - description: To get the slot ID to begin the video identity verification process with futureDate in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "67567541265", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_invalidFormat_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_07 - description: To get the slot ID to begin the video identity verification process with invalidFormat in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "2024-10-03 04:10:22.360", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_Empty_verifierId_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_08 - description: To get the slot ID to begin the video identity verification process with empty value in verifierId, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_without_verifierId_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_09 - description: To get the slot ID to begin the video identity verification process without verifierId, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$REMOVE$", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_space_in_verifierId_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_10 - description: To get the slot ID to begin the video identity verification process with only space in verifierId, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": " ", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_numVal_in_verifierId_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_11 - description: To get the slot ID to begin the video identity verification process with numeric value in verifierId, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "545642516717", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_splChar_in_verifierId_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_12 - description: To get the slot ID to begin the video identity verification process with special characters in verifierId, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "^%&^%&^%", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_alphaNumVal_in_verifierId_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_13 - description: To get the slot ID to begin the video identity verification process with alpha numeric value in verifierId, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "abc67816", - "consent": "AGREE" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_identity_verifier_id", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_invalidVal_in_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_14 - description: To get the slot ID to begin the video identity verification process with invalid value in consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "User agreed to consent12" -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_null_in_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_15 - description: To get the slot ID to begin the video identity verification process with null in consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": null -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_without_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_16 - description: To get the slot ID to begin the video identity verification process without consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "$REMOVE$" -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_space_in_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_17 - description: To get the slot ID to begin the video identity verification process with only space in consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": " " -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_numVal_in_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_18 - description: To get the slot ID to begin the video identity verification process with numeric value in consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "6757625" -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_splChar_in_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_19 - description: To get the slot ID to begin the video identity verification process with special characters in consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "%$%^^&%^&" -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_alphaNumVal_in_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_20 - description: To get the slot ID to begin the video identity verification process with alpha numeric value in consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "652fdFF" -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - - ESignet_GetSlot_with_ZeroVal_in_consent_Neg: - endPoint: /v1/signup/identity-verification/slot - uniqueIdentifier: TC_ESignet_GetSlotNegTC_21 - description: To get the slot ID to begin the video identity verification process with zero's in consent, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/GetSlotNegTC/GetSlotNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "idvTransactionID": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_idvTransactionID$", - "verifierId": "$ID:InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg_id$", - "consent": "00000000" -}' - output: '{ - "errors": [ - { - "errorCode": "consent_required", - "errorMessage": "$IGNORE$" - } - ] -}' - \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotResultNegTC.hbs b/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotResultNegTC.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/GetSlotNegTC/GetSlotResultNegTC.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.hbs b/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.hbs deleted file mode 100644 index f48997ac5..000000000 --- a/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.hbs +++ /dev/null @@ -1,18 +0,0 @@ -{ - "encodedHash": "{{encodedHash}}", - "requestTime": "{{requestTime}}", - "pathFragmentCookie": "{{pathFragmentCookie}}", - "pathFragmentCookieTransactionId": "{{pathFragmentCookieTransactionId}}", - "idtToken": "{{idtToken}}", - "request": { - "transactionId": "{{transactionId}}", - "individualId": "{{individualId}}", - "challengeList" : [ - { - "authFactorType" : "{{authFactorType}}", - "challenge" : "{{challenge}}", - "format": "base64url-encoded-json" - } - ] - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.yml b/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.yml deleted file mode 100644 index abdcbb2ae..000000000 --- a/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC.yml +++ /dev/null @@ -1,609 +0,0 @@ -IDTAuthenticationNegTC: - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_empty_transactionId_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_01 - description: Create transaction Id and consentAction with empty transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_emptyString_transactionId_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_02 - description: Create transaction Id and consentAction with emptyString transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": " ", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_withoutTransactionId_request_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_03 - description: Create transaction Id and consentAction without transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$REMOVE$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_transactionIDReceivedFromOtherAPIOAuth_transactionId_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_04 - description: Create transaction Id and consentAction with transaction id from other API - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_alreadyCompleted_transactionId_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_05 - description: Create transaction Id and consentAction with already completed transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "wGSAtOrEoQ_x_AFvS_uwjIkruvVXVO5hOYhc7izVDyc", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_withoutAuthFromSendOTP_transactionId_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_06 - description: Create transaction Id and consentAction withoutAuthFromSendOTP transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_missing_transactionId_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_07 - description: Create transaction Id and consentAction with missing transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$REMOVE$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_invalid_transactionId_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_08 - description: Create transaction Id and consentAction with invalid transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "abcdef", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_invalid_authFactorType_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_09 - description: Create transaction Id and consentAction with invalid auth factor type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "abcd", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_auth_factor_type" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_empty_authFactorType_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_10 - description: Create transaction Id and consentAction with empty auth factor type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_auth_factor_type" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_missing_authFactorType_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_11 - description: Create transaction Id and consentAction with missing auth factor type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "$REMOVE$", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_auth_factor_type" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_emptyString_authFactorType_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_12 - description: Create transaction Id and consentAction with emptyString auth factor type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : " ", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_auth_factor_type" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_Empty_challenge_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_13 - description: Create transaction Id and consentAction with empty challenge - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "" -}' - output: '{ - "errors": [ - { - "errorCode": "unknown_error" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_invalid_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_14 - description: Create transaction Id and consentAction with invalid requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "2022-11-08T06:35:53", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_invalid_diffFormat_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_15 - description: Create transaction Id and consentAction with diff format requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "2022-11-07T06:51:30.195Z", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_missing_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_16 - description: Create transaction Id and consentAction with missing requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$REMOVE$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_empty_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_17 - description: Create transaction Id and consentAction with empty requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_emptyString_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_18 - description: Create transaction Id and consentAction with emptyString requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": " ", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_invalidValue_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_19 - description: Create transaction Id and consentAction with invalid Value as requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "requestinvalid", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_numericString_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_20 - description: Create transaction Id and consentAction with numericString as requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "123456789", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_without_request_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_21 - description: Create transaction Id and consentAction without request - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_withOnlyIndividualID_request_Neg: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_22 - description: Create transaction Id and consentAction with only individualId - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$REMOVE$", - "requestTime": "$REMOVE$", - "pathFragmentCookie": "$REMOVE$", - "pathFragmentCookieTransactionId": "$REMOVE$", - "idtToken": "$REMOVE$", - "transactionId": "$REMOVE$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "$REMOVE$", - "challenge" : "$REMOVE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] -}' - ESignet_IDTAuthenticationNegTC_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke: - endPoint: /v1/esignet/authorization/v3/authenticate - uniqueIdentifier: TC_ESignet_IDTAuthenticationNegTC_23 - description: Create transaction Id and consentAction with valid details - Success - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTC - outputTemplate: esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTCResult - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "idtToken": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "individualId": "$IDTINDIVIUALID$", - "authFactorType" : "IDT", - "challenge" : "$IDTCHALLENGE$" -}' - output: '{ - -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTCResult.hbs b/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTCResult.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/IDTAuthenticationNegTC/IDTAuthenticationNegTCResult.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.hbs b/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.hbs deleted file mode 100644 index 7951f53bd..000000000 --- a/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.hbs +++ /dev/null @@ -1,7 +0,0 @@ -{ - "requestTime": "{{requestTime}}", - "request": { - "authorizationCode": "{{authorizationCode}}", - "state": "{{state}}" - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.yml b/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.yml deleted file mode 100644 index 05b92209e..000000000 --- a/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC.yml +++ /dev/null @@ -1,386 +0,0 @@ -InitiateIdVerificationNegTC: - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_missing_authorizationCode_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_01 - description: To start with Identity verification process with out authorization code, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "$REMOVE$", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_authorization_code", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_space_in_authorizationCode_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_02 - description: To start with Identity verification process with only space in authorization code, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": " ", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_authorization_code", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_null_in_authorizationCode_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_03 - description: To start with Identity verification process with null in authorization code, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": null, - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_authorization_code", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_invalidVal_in_authorizationCode_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_04 - description: To start with Identity verification process with invalid value in authorization code, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "jkhuewrfkeuw8frhe876754@#", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "grant_exchange_failed", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_NumVal_in_authorizationCode_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_05 - description: To start with Identity verification process with numeric value in authorization code, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "5645767564534565677", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "grant_exchange_failed", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_EmptyVal_in_authorizationCode_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_06 - description: To start with Identity verification process with empty value in authorization code, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_authorization_code", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_spaceVal_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_07 - description: To start with Identity verification process with only space in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": " ", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_NULL_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_08 - description: To start with Identity verification process with NULL in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": NULL, - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_EmptyVal_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_09 - description: To start with Identity verification process with empty value in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_null_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_10 - description: To start with Identity verification process with null in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": null, - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_invalidFormat_in_requestTime_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_11 - description: To start with Identity verification process with invalidFormat in requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "2023/11/03 11:03:29.296Z", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_missing_state_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_12 - description: To start with Identity verification process with out state parameter, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "$REMOVE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_state", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_spaceVal_in_state_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_13 - description: To start with Identity verification process with only space in state parameter, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": " " -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_state", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_EmptyVal_in_state_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_14 - description: To start with Identity verification process with empty value in state parameter, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_state", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_null_in_state_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_15 - description: To start with Identity verification process with null value in state parameter, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": null -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_state", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_with_missing_requestTime_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_16 - description: To start with Identity verification process with out requestTime, Expecting error code in the response - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$REMOVE$", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "urlInfo1724138417665" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] - }' - - ESignet_InitiateIdVerification_STransId_AuthToken_Xsrf_NegTC_Valid_Smoke_Sid_Neg: - endPoint: /v1/signup/identity-verification/initiate - uniqueIdentifier: TC_ESignet_InitiateIdVerificationNegTC_17 - description: To start with Identity verification process with all valid details, Expecting success response by setting the cookie header as IDV_TRANSACTION_ID in the response with identity verification transaction ID - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationNegTC - outputTemplate: esignet/InitiateIdVerificationNegTC/InitiateIdVerificationResultNegTC - input: '{ - "requestTime": "$TIMESTAMP$", - "authorizationCode": "$ID:SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_code$", - "state": "urlInfo1724138417665" -}' - output: '{ - -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationResultNegTC.hbs b/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationResultNegTC.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/InitiateIdVerificationNegTC/InitiateIdVerificationResultNegTC.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/LinkedAuthenticationWla/LinkedAuthenticationWla.yml b/api-test/src/main/resources/esignet/LinkedAuthenticationWla/LinkedAuthenticationWla.yml index 53b93a3ba..ae7be5d5c 100644 --- a/api-test/src/main/resources/esignet/LinkedAuthenticationWla/LinkedAuthenticationWla.yml +++ b/api-test/src/main/resources/esignet/LinkedAuthenticationWla/LinkedAuthenticationWla.yml @@ -144,7 +144,7 @@ LinkedAuthenticationWla: } }' output: '{ - "consentAction": "NOCAPTURE", + "consentAction": "CAPTURE", "sendOtpResp":{ "maskedMobile": "$IGNORE$", "sendOtpResTemplate":"esignet/SendBindingOtp/SendBindingOtpResult", diff --git a/api-test/src/main/resources/esignet/LinkedAuthorizationConsent/LinkedAuthorizationConsent.yml b/api-test/src/main/resources/esignet/LinkedAuthorizationConsent/LinkedAuthorizationConsent.yml index 21ba8b1b3..e289def93 100644 --- a/api-test/src/main/resources/esignet/LinkedAuthorizationConsent/LinkedAuthorizationConsent.yml +++ b/api-test/src/main/resources/esignet/LinkedAuthorizationConsent/LinkedAuthorizationConsent.yml @@ -37,7 +37,7 @@ LinkedAuthorizationConsent: }' - ESignet_LinkedAuthorizationConsent_Consent_uin_User2_Neg: + ESignet_LinkedAuthorizationConsent_Consent_uin_User2: endPoint: /v1/esignet/linked-authorization/v2/consent description: Linked authorization consent with User2 UIN role: resident @@ -45,7 +45,7 @@ LinkedAuthorizationConsent: restMethod: post validityCheckRequired: true inputTemplate: esignet/LinkedConsent/LinkAuthorizationConsent/LinkAuthorizationConsent - outputTemplate: esignet/error + outputTemplate: esignet/LinkedAuthorizationConsent/LinkedAuthorizationConsentResult input: '{ "requestTime": "$TIMESTAMP$", "linkedTransactionId": "$ID:LinkTransaction_Consent_uin_User2_all_Valid_Smoke_sid_linkTransactionId$", @@ -53,11 +53,6 @@ LinkedAuthorizationConsent: "signature": "$CONSENTDETACHEDSIGNATUREUSER2$" }' output: '{ - "errors": [ - { - "errorCode": "invalid_transaction" - } - ] }' ESignet_LinkedAuthorizationConsent_Consent_Vid_User2_Neg: diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegResultTC.hbs b/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegResultTC.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegResultTC.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.hbs b/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.hbs deleted file mode 100644 index 18abb612e..000000000 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.hbs +++ /dev/null @@ -1,39 +0,0 @@ -{ - "requestTime": "{{requestTime}}", - "request": { - "clientId": "{{clientId}}", - "scope": "{{scope}}", - "responseType": "{{responseType}}", - "redirectUri": "{{redirectUri}}", - "display": "{{display}}", - "prompt": "{{prompt}}", - "acrValues": "{{acrValues}}", - "claims": { - "userinfo": { - "name": { - "essential": false - }, - "phone_number": { - "essential": true - }, - "verified_claims": [ - { - "verification": { - "trust_framework": {"value": "de_aml"} - }, - "claims": { - "email": { - "essential": true - } - } - } - ] - }, - "id_token": {} - }, - "nonce" : "{{nonce}}", - "state" : "{{state}}", - "claimsLocales" : "{{claimsLocales}}", - "uiLocales" : "{{uiLocales}}" - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.yml b/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.yml deleted file mode 100644 index 612a68806..000000000 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC.yml +++ /dev/null @@ -1,1007 +0,0 @@ -OAuthDetailsRequestV3Neg: - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_RequestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid RequestTime and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "apknktokd", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US", - "trust_framework": "jp_aml" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "requestTime: invalid_request" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Null_value_RequestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with null value RequestTime and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": null, - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "requestTime: invalid_request" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_empty_RequestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with empty RequestTime and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "requestTime: invalid_request" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Space_value_RequestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with space value in RequestTime and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": " ", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "requestTime: invalid_request" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_missing_RequestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with missing RequestTime and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$REMOVE$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "requestTime: invalid_request" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_ClientID_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid ClientID and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "jkjdangjfkdjnlkfkgjdsfnlkfjdkf", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "invalid_client_id" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Null_ClientID_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with null ClientID and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": null, - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "request.clientId: invalid_client_id" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_empty_ClientID_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with an empty ClientID and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": "", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "request.clientId: invalid_client_id" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Space_value_ClientID_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with space value in ClientID and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": " ", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "request.clientId: invalid_client_id" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_missing_ClientID_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with missing ClientID and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "$REMOVE$", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "request.clientId: invalid_client_id" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_Scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid scope and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "aegaegegadd", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "request.scope: invalid_scope" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Null_Scope_value_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with null scope value and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": null, - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "request.scope: invalid_scope" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_empty_Scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with an empty scope and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "request.scope: invalid_scope" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Space_value_Scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with space value in scope and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": " ", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "request.scope: invalid_scope" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_missing_Scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with missing scope and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "$REMOVE$", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "request.scope: invalid_scope" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_ResponseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid ResponseType and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "tfyjii", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "request.responseType: invalid_response_type" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Null_ResponseType_value_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with null ResponseType value and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": null, - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "request.responseType: invalid_response_type" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_empty_ResponseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with an empty ResponseType and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "request.responseType: invalid_response_type" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Space_value_ResponseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with space value in ResponseType and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": " ", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "request.responseType: invalid_response_type" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_missing_ResponseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with missing ResponseType and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "$REMOVE$", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "request.responseType: invalid_response_type" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_RedirectURI_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid RedirectURI and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "adaklfjfods", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "request.redirectUri: invalid_redirect_uri" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Null_RedirectURI_value_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with null value in RedirectURI and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": null, - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "request.redirectUri: invalid_redirect_uri" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_empty_RedirectURI_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with an empty RedirectURI and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": $TIMESTAMP$, - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "request.redirectUri: invalid_redirect_uri" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_Space_value_RedirectURI_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with space value in RedirectURI and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": " ", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "request.redirectUri: invalid_redirect_uri" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_missing_RedirectURI_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with missing RedirectURI and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$REMOVE$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "request.redirectUri: invalid_redirect_uri" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_Display_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid Display and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "ajodinvalidoaoi", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_display", - "errorMessage": "request.display: invalid_display" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_Prompt_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid Prompt and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "oaidnoadi", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_prompt", - "errorMessage": "request.prompt: invalid_prompt" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_acrValues_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid acrValues and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "malslinakjol", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_acr", - "errorMessage": "request.acr: invalid_acr" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_nonce_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid nonce and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "aod;ofald", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_nonce", - "errorMessage": "request.nonce: invalid_nonce" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_state_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid state and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "aodfjlf", - "claimsLocales": "en", - "uiLocales": "en-US" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_state", - "errorMessage": "request.state: invalid_state" - } - ] -}' - - ESignet_OAuthDetailsRequestNegTC_V3_with_invalid_uiLocales_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with invalid uiLocales and all valid data - role: resident - restMethod: post - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "adfa", -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_ui_locales", - "errorMessage": "request.ui_locales: invalid_ui_locales" - } - ] -}' - - ESignet_OAuthDetailsRequest_V3_WithClaimValues_AuthToken_with_invalid_essential_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_OAuthDetailsRequestNegTC_V3_01 - description: To get OAuthDetails with invalid essential value in verified claims and all valid data - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsWithClaimValueRequestNegTC - outputTemplate: esignet/error - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US", - "trust_framework": "de_aml", - "max_age": 63113852, - "given_name": ["automation", "test"], - "purpose": "Name given by user", - "name_value": "automation", - "name_values": ["ab","cd"], - "phone_number": "1234567890", - "essential": 10 -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_essential", - "errorMessage": "request.invalid_essential: invalid_essential" - } - ] -}' - - ESignet_OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid: - endPoint: /v1/esignet/authorization/v3/oauth-details - description: To get OAuthDetails with all valid data - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/OAuthDetailsRequestV3/OAuthDetailsWithClaimValueRequest - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY", - "scope": "openid profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", - "state": "urlInfo1724138417665", - "claimsLocales": "en", - "uiLocales": "en-US", - "trust_framework": ["de_aml","jp_aml"], - "assurance_level": "high", - "max_age": 63113852, - "evidence_type": "document", - "evidence_method": "test", - "given_name": ["automation", "test"], - "purpose": "Name given by user", - "name_value": "automation", - "name_values": ["ab","cd"], - "phone_number": "1234567890", - "email_essential": true -}' - output: '{ - -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsWithClaimValueRequestNegTC.hbs b/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsWithClaimValueRequestNegTC.hbs deleted file mode 100644 index eeafba6f8..000000000 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequestV3NegTC/OAuthDetailsWithClaimValueRequestNegTC.hbs +++ /dev/null @@ -1,62 +0,0 @@ -{ - "requestTime": "{{requestTime}}", - "request": { - "clientId": "{{clientId}}", - "scope": "{{scope}}", - "responseType": "{{responseType}}", - "redirectUri": "{{redirectUri}}", - "display": "{{display}}", - "prompt": "{{prompt}}", - "acrValues": "{{acrValues}}", - "claims": { - "userinfo": { - "name": { - "essential": false - }, - "phone_number": { - "essential": true - }, - "verified_claims": [ - { - "verification": { - "trust_framework": { - "values": "{{trust_framework}}" - }, - "assurance-level": { - "value": "high" - }, - "time": { - "max_age": "{{max_age}}" - }, - "evidence": [ - {"type": { "value": "document"}}, - {"method": { "value": "test" }} - ] - }, - "claims": { - "given_name": { - "values":"manual", - "purpose":"{{purpose}}", - "essential": true - }, - "name": { - "value": "{{name_value}}" - }, - "phone_number": { - "value": "{{phone_number}}" - }, - "email": { - "essential": {{essential}} - } - } - } - ] - }, - "id_token": {} - }, - "nonce" : "{{nonce}}", - "state" : "{{state}}", - "claimsLocales" : "{{claimsLocales}}", - "uiLocales" : "{{uiLocales}}" - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.hbs b/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.hbs deleted file mode 100644 index 042e820a0..000000000 --- a/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.hbs +++ /dev/null @@ -1,8 +0,0 @@ -{ - "encodedHash": "{{encodedHash}}", - "requestTime": "{{requestTime}}", - "request": { - "transactionId": "{{transactionId}}", - "pathFragment": "{{pathFragment}}" - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.yml b/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.yml deleted file mode 100644 index f3b5091ec..000000000 --- a/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC.yml +++ /dev/null @@ -1,414 +0,0 @@ -PrepareSignupRedirectNegTC: - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_without_requestTime_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_01 - description: Create ID token for the signup service without requestTime - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "invalid_request" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_empty_requestTime_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_02 - description: Create ID token for the signup service empty requestTime - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "invalid_request" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_emptyString_requestTime_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_03 - description: Create ID token for the signup service emptyString requestTime - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": " ", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "invalid_request" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_invalid_requestTime_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_04 - description: Create ID token for the signup service invalid requestTime - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "invalidRequest", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "invalid_request" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_numeric_As_requestTime_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_05 - description: Create ID token for the signup service numeric as requestTime - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "12345", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "invalid_request" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_invalidTimeFormat_requestTime_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_06 - description: Create ID token for the signup service invalidTimeFormat as requestTime - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "Jun 09 2023 15:28:14", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "invalid_request" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_empty_requestObject_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_07 - description: Create ID token for the signup service empty as request object - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "", - "transactionId": "", - "pathFragment": "" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_invalid_transactionId_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_08 - description: Create ID token for the signup service transaction id as invalid - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "1234567890", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_without_transactionId_parameter_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_09 - description: Create ID token for the signup service without transaction id - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_unAuthenticated_transactionId_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_10 - description: Create ID token for the signup service with an unauthenticated transaction id - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "aTcWUCX2K4Rlx43UEm0bgkB0r0el9_2jWPclsfjebBc", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_alreadyAuthenticated_transactionId_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_11 - description: Create ID token for the signup service with an already authenticated transaction id - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "aTcWUCX2K4Rlx43UEm0bgkB0r0el9_2jWPclsfjebRc", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_null_transactionId_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_12 - description: Create ID token for the signup service with transaction id as null - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": null, - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_transactionIDReceivedOtherAPI_thatOAuthDetail_transactionId_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_13 - description: Create ID token for the signup service with transaction id received in other API - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "bHcqVsIp11X2GBWu2PrKFePQKYYHIuo6eafYnRmHey0", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_expired_transactionId_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_14 - description: Create ID token for the signup service with expired transaction id - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "Lb3c_7al_WOAqbbDyU4aSxxofOcEHLC9Y3qSgSCBB7M", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_empty_transactionId_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_15 - description: Create ID token for the signup service with empty transaction id - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": " ", - "pathFragment": "path-fragment" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "invalid_transaction" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_without_pathFragment_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_16 - description: Create ID token for the signup service withuot path Fragment - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "$REMOVE$" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_path_fragment", - "errorMessage": "invalid_path_fragment" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_null_pathFragment_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_17 - description: Create ID token for the signup service with path Fragment as null - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": null - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_path_fragment", - "errorMessage": "invalid_path_fragment" - } - ] -}' - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_empty_pathFragment_Neg_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_18 - description: Create ID token for the signup service with path Fragment as empty - Failure - role: resident - restMethod: post - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "" - }' - output: '{ - "errors": [ - { - "errorCode": "invalid_path_fragment", - "errorMessage": "invalid_path_fragment" - } - ] -}' - - ESignet_PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid: - endPoint: /v1/esignet/authorization/prepare-signup-redirect - uniqueIdentifier: TC_ESignet_PrepareSignupRedirectNegTC_19 - description: Create ID token for the signup service with valid data - Success - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - validityCheckRequired: true - inputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTC - outputTemplate: esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTCResult - input: '{ - "encodedHash": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "transactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "pathFragment": "path-fragment" - }' - output: '{ -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTCResult.hbs b/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTCResult.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/PrepareSignupRedirectNegTC/PrepareSignupRedirectNegTCResult.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.hbs b/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.hbs deleted file mode 100644 index e3704b3ec..000000000 --- a/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.hbs +++ /dev/null @@ -1,16 +0,0 @@ -{ - "encodedHash": "{{encodedHash}}", - "requestTime": "{{requestTime}}", - "pathFragmentCookie": "{{pathFragmentCookie}}", - "pathFragmentCookieTransactionId": "{{pathFragmentCookieTransactionId}}", - "request": { - "transactionId": "{{transactionId}}", - "permittedAuthorizeScopes": [], - "acceptedClaims" : [ - {{#each acceptedClaims}} - "{{channel}}" - {{#unless @last}},{{/unless}} - {{/each}} - ] - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.yml b/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.yml deleted file mode 100644 index 7ec64f457..000000000 --- a/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC.yml +++ /dev/null @@ -1,271 +0,0 @@ -SignupAuthorizeCodeNegTC: - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_empty_acceptedClaims_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_01 - description: Create authorization code with empty acceptedClaims - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "acceptedClaims": [{channel: ""},{channel: ""}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_accepted_claim", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_missing_acceptedClaims_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_02 - description: Create authorization code with missing acceptedClaims - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "acceptedClaims": "$REMOVE$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_accepted_claim", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_invalid_transactionId_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_03 - description: Create authorization code with invalid transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "invalidTransactionID", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_without_transactionId_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_04 - description: Create authorization code without transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_alreadyCompleted_transactionId_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_05 - description: Create authorization code with already completed transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "Rtf-lPuIJfXUg9jaqJdOeuospISzuDJ7_PxV6fEvX7g", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_emptyString_transactionId_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_06 - description: Create authorization code with empty string transaction id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": " ", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_transaction", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_empty_requestTime_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_07 - description: Create authorization code with empty requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_diff_requestTime_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_08 - description: Create authorization code with different requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "2022-11-07T06:51:30.195Z", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_future_requestTime_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_09 - description: Create authorization code with future requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "2050-11-07T06:51:30.195Z", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_AuthToken_Xsrf_uin_invalid_requestTime_Neg: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_10 - description: Create authorization code with invalid requestTime - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/error - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "2022-11-08T06:35:53", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeCodeNegTC_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid: - endPoint: /v1/esignet/authorization/auth-code - uniqueIdentifier: TC_ESignet_SignupAuthorizeCodeNegTC_11 - description: Create authorization code with valid details - Success - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTC - outputTemplate: esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTCResult - input: '{ - "encodedHash": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_encodedResp$", - "requestTime": "$TIMESTAMP$", - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "transactionId": "$ID:SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid_transactionId$", - "acceptedClaims": [{channel: "email"},{channel: "phone_number"}] -}' - output: '{ - -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTCResult.hbs b/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTCResult.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/SignupAuthorizeCodeNegTC/SignupAuthorizeCodeNegTCResult.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.hbs b/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.hbs deleted file mode 100644 index 95c858e2b..000000000 --- a/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.hbs +++ /dev/null @@ -1,15 +0,0 @@ -{ - "requestTime": "{{requestTime}}", - "pathFragmentCookieTransactionId": "{{pathFragmentCookieTransactionId}}", - "pathFragmentCookie": "{{pathFragmentCookie}}", - "request": { - "clientId": "{{clientId}}", - "scope": "{{scope}}", - "responseType": "{{responseType}}", - "redirectUri": "{{redirectUri}}", - "acrValues": "{{acrValues}}", - "state" : "{{state}}", - "uiLocales" : "{{uiLocales}}", - "idTokenHint" : "{{idTokenHint}}" - } -} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.yml b/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.yml deleted file mode 100644 index 1538e453a..000000000 --- a/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC.yml +++ /dev/null @@ -1,914 +0,0 @@ -SignupAuthorizeNegTC: - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_clientId_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_01 - description: Create consent details and unique transactionID with invalid client id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "reateOIDCClient_all_Valid_Smoke_sid_cl", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_empty_clientId_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_02 - description: Create consent details and unique transactionID with empty client id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_clientId_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_03 - description: Create consent details and unique transactionID with missing client id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "$REMOVE$", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_null_clientId_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_04 - description: Create consent details and unique transactionID with null client id - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "null", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_client_id", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_empty_redirectUri_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_05 - description: Create consent details and unique transactionID with empty redirect URI - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_redirectUri_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_06 - description: Create consent details and unique transactionID with invalid redirect URI - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "https://health-services.com", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_redirectUri_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_07 - description: Create consent details and unique transactionID with missing redirect URI - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$REMOVE$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_redirect_uri", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_empty_responseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_08 - description: Create consent details and unique transactionID with empty response type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_responseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_09 - description: Create consent details and unique transactionID with invalid response type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "decode", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_responseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_10 - description: Create consent details and unique transactionID with missing response type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "$REMOVE$", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_null_responseType_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_11 - description: Create consent details and unique transactionID with null response type - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "null", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_response_type", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_12 - description: Create consent details and unique transactionID with invalid scope - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "email", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_withoutSpace_scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_13 - description: Create consent details and unique transactionID without space in scope - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openidemailaddressphone", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_multipleSpacesInBetween_scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_14 - description: Create consent details and unique transactionID with multiple spaces in between scope - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": " openid email address phone ", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_15 - description: Create consent details and unique transactionID with missing scope - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "$REMOVE$", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_empty_scope_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_16 - description: Create consent details and unique transactionID with empty scope - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_scope", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_acrValues_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_17 - description: Create consent details and unique transactionID with invalid acr values - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:static", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_empty_acrValues_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_18 - description: Create consent details and unique transactionID with empty acr values - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_acrValues_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_19 - description: Create consent details and unique transactionID with missing acr values - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "$REMOVE$", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalidFormat_acrValues_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_20 - description: Create consent details and unique transactionID with invalidformat acr values - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "abcd", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_uiLocales_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_21 - description: Create consent details and unique transactionID with invalid uilocales - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "abcd", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_empty_uiLocales_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_22 - description: Create consent details and unique transactionID with empty uilocales - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_uiLocales_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_23 - description: Create consent details and unique transactionID with missing uilocales - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "$REMOVE$", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_otherLanguage_uiLocales_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_24 - description: Create consent details and unique transactionID with other language uilocales - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "kn", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_state_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_25 - description: Create consent details and unique transactionID with invalid state - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "$$@#fdhfdkl", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_state_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_26 - description: Create consent details and unique transactionID with missing state - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "$REMOVE$", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_exceedingRange_state_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_27 - description: Create consent details and unique transactionID with exceeding range state - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "aa1hmnkz7ee0c1te988gw9bkos5pb4mi830uf6wrxj6hs80z07rmtwpzvjr9qjhgw8aw2rf9iljprvvxxh4y94je13gl4vr9vwaq358tnov5bh3likbef6elkqnqvnn4gu9fh1pzui2b459m0xfwjdsjlinll1s6kayk29d01i3vx1uagewcoc39ssxm4feyci06zoimd6ot3c0w3w8genv1d0hk4ni9ym1mjkwclffj5tfiglipy9sn5fyjqway9c6y", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_empty_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_28 - description: Create consent details and unique transactionID with empty request time - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_diffFormat_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_29 - description: Create consent details and unique transactionID with different format request time - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "2022-11-07T06:51:30.195Z", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_invalid_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_30 - description: Create consent details and unique transactionID with invalid request time - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "2022-11-08T06:35:53", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_missing_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_31 - description: Create consent details and unique transactionID with missing request time - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$REMOVE$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_emptyString_requestTime_Neg: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_32 - description: Create consent details and unique transactionID with empty String as request time - Failure - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/error - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": " ", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - "errors": [ - { - "errorCode": "invalid_request", - "errorMessage": "$IGNORE$" - } - ] -}' - ESignet_SignupAuthorizeNegTC_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_PosNeg_Smoke_sid: - endPoint: /v1/esignet/authorization/v3/oauth-details - uniqueIdentifier: TC_ESignet_SignupAuthorizeNegTC_33 - description: Create consent details and unique transactionID with valid details - Success - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTC - outputTemplate: esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTCResult - input: '{ - "pathFragmentCookie": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_pathFragmentCookie$", - "pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_Neg_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$", - "requestTime": "$TIMESTAMP$", - "clientId": "mosip-signup-oauth-client", - "scope": "openid", - "responseType": "code", - "redirectUri": "$SIGNUPREDIRECTURI$", - "acrValues": "mosip:idp:acr:id-token", - "state": "urlInfo1724138417665", - "uiLocales": "en", - "idTokenHint": "$ID:PrepareSignupRedirectNegTC_AuthToken_Xsrf_STransId_uin_Otp_Valid_posNeg_Smoke_sid_idToken$" -}' - output: '{ - -}' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTCResult.hbs b/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTCResult.hbs deleted file mode 100644 index 9e26dfeeb..000000000 --- a/api-test/src/main/resources/esignet/SignupAuthorizeNegTC/SignupAuthorizeNegTCResult.hbs +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/WalletBinding/WalletBinding.yml b/api-test/src/main/resources/esignet/WalletBinding/WalletBinding.yml index 3597ba381..1031d40d9 100644 --- a/api-test/src/main/resources/esignet/WalletBinding/WalletBinding.yml +++ b/api-test/src/main/resources/esignet/WalletBinding/WalletBinding.yml @@ -1854,7 +1854,7 @@ WalletBinding: output: '{ "errors": [ { - "errorCode": "invalid_challenge_length" + "errorCode": "invalid_auth_factor_type" } ], "sendOtpResp": { @@ -2031,7 +2031,7 @@ WalletBinding: output: '{ "errors": [ { - "errorCode": "invalid_challenge_length" + "errorCode": "invalid_challenge" } ], "sendOtpResp": { @@ -2209,7 +2209,7 @@ WalletBinding: output: '{ "errors": [ { - "errorCode": "invalid_auth_factor_type_format" + "errorCode": "invalid_challenge_format" } ], "sendOtpResp": { diff --git a/api-test/testNgXmlFiles/esignetSuite.xml b/api-test/testNgXmlFiles/esignetSuite.xml index df3245132..dbaacbb11 100644 --- a/api-test/testNgXmlFiles/esignetSuite.xml +++ b/api-test/testNgXmlFiles/esignetSuite.xml @@ -654,83 +654,5 @@ --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file