forked from mosip/mosip-functional-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
12 changed files
with
1,119 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...ntests/src/main/resources/esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"encodedHash": "{{encodedHash}}", | ||
"requestTime": "{{requestTime}}", | ||
"request": { | ||
"transactionId": "{{transactionId}}", | ||
"individualId": "{{individualId}}", | ||
"challengeList" : [ | ||
{ | ||
"authFactorType" : "{{authFactorType}}", | ||
"challenge" : "{{challenge}}", | ||
"format": "alpha-numeric" | ||
} | ||
] | ||
} | ||
} |
231 changes: 231 additions & 0 deletions
231
...ntests/src/main/resources/esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,231 @@ | ||
AuthenticateUserVCIVidNegTC: | ||
ESignet_AuthenticateUserVCI_Vid_Otp_NegAuthCodeScen1_Valid_Smoke: | ||
endPoint: /v1/esignet/authorization/authenticate | ||
role: resident | ||
restMethod: post | ||
checkErrorsOnlyInResponse: true | ||
validityCheckRequired: true | ||
inputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI | ||
outputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResultResult | ||
input: '{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen1_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen1_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"authFactorType" : "OTP", | ||
"challenge" : "$ID:AddIdentity_Valid_Params_VCI_Vid_Inv_Scen_smoke_Pos_EMAIL$", | ||
"sendOtp":{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen1_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen1_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"otpChannels": [{channel: "email"},{channel: "phone"}], | ||
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp", | ||
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp" | ||
} | ||
}' | ||
output: '{ | ||
"sendOtpResp":{ | ||
"maskedMobile": "XXXXXX3210", | ||
"sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", | ||
"maskedEmail": "$IGNORE$" | ||
} | ||
}' | ||
|
||
ESignet_AuthenticateUserVCI_Vid_Otp_NegAuthCodeScen2_Valid_Smoke: | ||
endPoint: /v1/esignet/authorization/authenticate | ||
role: resident | ||
restMethod: post | ||
checkErrorsOnlyInResponse: true | ||
validityCheckRequired: true | ||
inputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI | ||
outputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResultResult | ||
input: '{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen2_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen2_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"authFactorType" : "OTP", | ||
"challenge" : "$ID:AddIdentity_Valid_Params_VCI_Vid_Inv_Scen_smoke_Pos_EMAIL$", | ||
"sendOtp":{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen2_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen2_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"otpChannels": [{channel: "email"},{channel: "phone"}], | ||
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp", | ||
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp" | ||
} | ||
}' | ||
output: '{ | ||
"sendOtpResp":{ | ||
"maskedMobile": "XXXXXX3210", | ||
"sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", | ||
"maskedEmail": "$IGNORE$" | ||
} | ||
}' | ||
|
||
ESignet_AuthenticateUserVCI_Vid_Otp_NegAuthCodeScen3_Valid_Smoke: | ||
endPoint: /v1/esignet/authorization/authenticate | ||
role: resident | ||
restMethod: post | ||
checkErrorsOnlyInResponse: true | ||
validityCheckRequired: true | ||
inputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI | ||
outputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResultResult | ||
input: '{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen3_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen3_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"authFactorType" : "OTP", | ||
"challenge" : "$ID:AddIdentity_Valid_Params_VCI_Vid_Inv_Scen_smoke_Pos_EMAIL$", | ||
"sendOtp":{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen3_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen3_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"otpChannels": [{channel: "email"},{channel: "phone"}], | ||
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp", | ||
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp" | ||
} | ||
}' | ||
output: '{ | ||
"sendOtpResp":{ | ||
"maskedMobile": "XXXXXX3210", | ||
"sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", | ||
"maskedEmail": "$IGNORE$" | ||
} | ||
}' | ||
|
||
ESignet_AuthenticateUserVCI_Vid_Otp_NegAuthCodeScen4_Valid_Smoke: | ||
endPoint: /v1/esignet/authorization/authenticate | ||
role: resident | ||
restMethod: post | ||
checkErrorsOnlyInResponse: true | ||
validityCheckRequired: true | ||
inputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI | ||
outputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResultResult | ||
input: '{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen4_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen4_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"authFactorType" : "OTP", | ||
"challenge" : "$ID:AddIdentity_Valid_Params_VCI_Vid_Inv_Scen_smoke_Pos_EMAIL$", | ||
"sendOtp":{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen4_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen4_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"otpChannels": [{channel: "email"},{channel: "phone"}], | ||
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp", | ||
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp" | ||
} | ||
}' | ||
output: '{ | ||
"sendOtpResp":{ | ||
"maskedMobile": "XXXXXX3210", | ||
"sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", | ||
"maskedEmail": "$IGNORE$" | ||
} | ||
}' | ||
|
||
ESignet_AuthenticateUserVCI_Vid_Otp_NegAuthCodeScen5_Valid_Smoke: | ||
endPoint: /v1/esignet/authorization/authenticate | ||
role: resident | ||
restMethod: post | ||
checkErrorsOnlyInResponse: true | ||
validityCheckRequired: true | ||
inputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI | ||
outputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResultResult | ||
input: '{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen5_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen5_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"authFactorType" : "OTP", | ||
"challenge" : "$ID:AddIdentity_Valid_Params_VCI_Vid_Inv_Scen_smoke_Pos_EMAIL$", | ||
"sendOtp":{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen5_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen5_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"otpChannels": [{channel: "email"},{channel: "phone"}], | ||
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp", | ||
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp" | ||
} | ||
}' | ||
output: '{ | ||
"sendOtpResp":{ | ||
"maskedMobile": "XXXXXX3210", | ||
"sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", | ||
"maskedEmail": "$IGNORE$" | ||
} | ||
}' | ||
|
||
ESignet_AuthenticateUserVCI_Vid_Otp_NegAuthCodeScen6_Valid_Smoke: | ||
endPoint: /v1/esignet/authorization/authenticate | ||
role: resident | ||
restMethod: post | ||
checkErrorsOnlyInResponse: true | ||
validityCheckRequired: true | ||
inputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI | ||
outputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResultResult | ||
input: '{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen6_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen6_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"authFactorType" : "OTP", | ||
"challenge" : "$ID:AddIdentity_Valid_Params_VCI_Vid_Inv_Scen_smoke_Pos_EMAIL$", | ||
"sendOtp":{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen6_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen6_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"otpChannels": [{channel: "email"},{channel: "phone"}], | ||
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp", | ||
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp" | ||
} | ||
}' | ||
output: '{ | ||
"sendOtpResp":{ | ||
"maskedMobile": "XXXXXX3210", | ||
"sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", | ||
"maskedEmail": "$IGNORE$" | ||
} | ||
}' | ||
|
||
ESignet_AuthenticateUserVCI_Vid_Otp_NegAuthCodeScen7_Valid_Smoke: | ||
endPoint: /v1/esignet/authorization/authenticate | ||
role: resident | ||
restMethod: post | ||
checkErrorsOnlyInResponse: true | ||
validityCheckRequired: true | ||
inputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCI | ||
outputTemplate: esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResultResult | ||
input: '{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen7_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen7_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"authFactorType" : "OTP", | ||
"challenge" : "$ID:AddIdentity_Valid_Params_VCI_Vid_Inv_Scen_smoke_Pos_EMAIL$", | ||
"sendOtp":{ | ||
"encodedHash": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen7_Valid_Smoke_sid_encodedResp$", | ||
"requestTime": "$TIMESTAMP$", | ||
"transactionId": "$ID:OAuthDetailsRequest_VCI_Vid_NegAuthCodeScen7_Valid_Smoke_sid_transactionId$", | ||
"individualId": "$ID:Generate_Perpetual_VID_VCI_Invalid_Scen_Smoke_sid_vid$", | ||
"otpChannels": [{channel: "email"},{channel: "phone"}], | ||
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp", | ||
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp" | ||
} | ||
}' | ||
output: '{ | ||
"sendOtpResp":{ | ||
"maskedMobile": "XXXXXX3210", | ||
"sendOtpResTemplate":"esignet/SendOtp/SendOtpResult", | ||
"maskedEmail": "$IGNORE$" | ||
} | ||
}' |
1 change: 1 addition & 0 deletions
1
.../src/main/resources/esignet/VCIVidNegTC/AuthenticateUserVCI/AuthenticateUserVCIResult.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Oops, something went wrong.