Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-16726

Improve DAQueryManUsersNoLinkExpansion performance test to use an authenticated session

    XMLWordPrintable

Details

    • QA Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 7.2.0
    • None
    • None
    • 2021.Winter

    Description

      While OPENIDM-16662 was being investigated, the following suggestion was made to improve the accuracy of the performance of the queries the test makes.

      The performance test `delegated_admin.DAQueryManUsers` authenticates the user with each query call being measured. Even though the test is using the DAQueryManUsersNoLinkExpansion.scala test, the authentication to make the query IS doing link expansion on the DA user to get the authzRoles of that user.  The test should be modified to utilize an authenticated session to better measure the true cost of the query, in normal circumstances.

      To run the test using Pyforge

      1. Using the following config:

      [OpenIDM]
       ...
       repo_type = mysql
      
      
      [Stress]
       num_users = 10
       duration = 60
       concurrency = 10
       max_throughput = -1
       test_duration = 300
       preload_users = 100
       previliges_per_role = 2
       preload_duration = 300
       number_of_internal_roles = 2
       internal_roles_per_user = 2
       delegated_users = 200
       test_concurrency = 40

      2. Run the test:

      ./run-pybot.py -v -c perf -s delegated_admin.DAQueryManUsers OpenIDM

      Check the Gatling report in debug.txt file.

       

      Attachments

        Issue Links

          Activity

            People

              julian.keller Julian Keller
              julian.keller Julian Keller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: