Skip to content

Commit

Permalink
Updated ReadMe file and script as per the reviews
Browse files Browse the repository at this point in the history
Signed-off-by: Nihal LK <nihal.lk@technoforte.co.in>
  • Loading branch information
Nihal LK committed Feb 7, 2025
1 parent 0a8323a commit 620e0f9
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 751 deletions.
18 changes: 8 additions & 10 deletions performance-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
3. S01 OTP Authentication (Execution)

*Esignet_Test_Script.jmx
1. Create Identities in MOSIP Identity System - Password Based Auth (Setup)
2. Create Identities in MOSIP Identity System - OTP Based Auth (Setup)
3. Auth Token Generation (Setup)
4. Create OIDC Client in MOSIP Authentication System (Setup)
5. S01 OTP Authentication (Execution)
6. S02 Password Authentication (Execution)
1. Create Identities in MOSIP Identity System (Setup)
2. Auth Token Generation (Setup)
3. Create OIDC Client in MOSIP Authentication System (Setup)
4. S01 OTP Authentication (Execution)
5. S02 Password Authentication (Execution)

* Open source Tools used,
1. [Apache JMeter](https://jmeter.apache.org/)
Expand Down Expand Up @@ -116,20 +115,19 @@

*Esignet_Test_Script.jmx

* Create Identities in MOSIP Identity System - Password Based Auth (Setup) : This threadgroup generates VIDs and passwords for password authentication and stored in csv file.
* Create Identities in MOSIP Identity System - OTP Based Auth (Setup) : This threadgroup generates VIDs for OTP authentication.
* Create Identities in MOSIP Identity System (Setup) : This threadgroup generates VIDs and passwords for eSignet authentication and stored in csv file.
* Auth Token Generation (Setup): This threadgroup generates Auth token for PMS client to generate client Ids for the threadgroup Create OIDC Client in MOSIP Authentication System (Setup).
* Create OIDC Client in MOSIP Authentication System (Setup): This threadgroup generates client Id and encoded private key for eSignet authentication.
* S01 OTP authentication (Execution)
*S01 T01 GetCsrf: This API endpoint generates CSRF token.
*S01 T01 Get Csrf Token: This API endpoint generates CSRF token.
*S01 T02 Oauthdetails : This API endpoint hits Oauthdetails endpoint of eSignet.
*S01 T03 Send OTP : This API endpoint sends OTP request for authentication.
*S01 T04 Authentication : This API endpoint performs OTP authentication in eSignet portal
*S01 T05 Authorization : This API endpoint performs authorization in eSignet portal
*S01 T06 Token: Code created in the preparation will be used only once and a signed JWT key value is also required for which we are using a JSR223 Pre-processor. The Pre-processor(Generate Client Assertion) will generate a signed JWT token value using the client id and its private key from the file created in Create OIDC Client in MOSIP Authentication System (Setup). An access token will be generated in the response body.
*S01 T07 Userinfo: For execution the generated access token from the token end point api is used. Till the token is not expired it can be used for multiple samples.
* S02 Password Authentication (Execution)
*S02 T01 GetCsrf: This API endpoint generates CSRF token.
*S02 T01 Get Csrf Token: This API endpoint generates CSRF token.
*S02 T02 Oauthdetails : This API endpoint hits Oauthdetails endpoint of eSignet.
*S02 T03 Authentication : This API endpoint performs Password authentication in eSignet portal
*S02 T04 Authorization : This API endpoint performs authorization in eSignet portal
Expand Down
Loading

0 comments on commit 620e0f9

Please sign in to comment.