Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

  • Longevity test was running 10 hours and began failing because of token expiration. Possible reason here is SSO Session Max limitation 10 hours (fs09000000/realm-settings/sessions).
    • Average response times in 10 hours test for Check-In - 1003 ms, Check-Out - 2870 ms
    • First 5 hours 30 minutes average response times Check-In - 770 ms, Check-Out - 1773 ms, the next 4 hours 30 minutes - Check-In - 1295 ms, Check-Out - 4280 ms
  • Longevity during 24 hours (after session expiration issue was resolved by increasing SSO session Max parameter from 10 to 24 hours)
    • Average response times for all 24 test Check-In - 1311 ms, Check-Out - 4541 ms
    • The same degradation observed as in 10 hours test. Response time increased significantly in 6 hours after test start - Check-In from 1045 ms to 1526 ms, Check-out from 2523 ms to 5262 ms. See Graphs for response times.

Comparison with previous results in Quesnelia release (qcp1 environment) results:

  • 8, 20, 30 vUsers tests were stable. And 75 vUsers test revealed saturation point during ramp-up period with 33 vUsers. After this point response times increased significantly with the same throughput.
  • There's a significant performance degradation compared to previous results from tests in quesnelia release on qcp1 environment (non-eureka):
    • 8 vUsers - Check-out - 96%, Check-in - 48%
    • 20 vUsers - Check-out - 61%, Check-in - 33%
    • 30 vUsers - Check-out - 89%, Check-in - 55%
    • 75 vUsers - Check-out - 1111%, Check-in - 695% (during whole test)
    • 75 vUsers - Check-out - 48 %, Check-in - 7 % (before saturation point was found)
    • 30 vUsers (Longevity) - Check-out - 326%, Check-in - 188% (24 hours test)

...

  • RDS CPU utilization average
    • For both 45 minute and longevity tests RDS used max 867 connections. Without test it was 812 connections.
  • CPU (User) usage by broker
    • Common CPU utilization by broker during longevity was 18, 18, 16, 14% accordingly to broker distribution. Resource utilization decreased significantly after 6 hours 20 minutes (17:40 UTC) to 14, 12, 12, 11%

Notes:

  • The reason of degradation, which occurs after 6 hours of testing, has not yet been found.

...


8 vUsers    20 vUsers    30 vUsers    75 vUsers    
RequestsResponse Times (ms)   Response Times (ms)   Response Times (ms)   Response Times (ms)  
Label#SamplesAverage95th pct#SamplesAverage95th pct#SamplesAverage95th pct#SamplesAverage95th pct
Check-out Controller17451459.64169441401356.821569.9560471646.962725.6656712589.119031
Check-In Controller1288603.957063297625.786654560748.31340.0549574610.38229.2
POST_circulation/check-out-by-barcode (Submit_barcode_checkout)1746661.9755.954142613.146596047729.591242.865943868.577169.25
POST_circulation/check-in-by-barcode (Submit_barcode_checkin)1289240.43287.53305277.172934572286.6136349691642.043832.5
GET_circulation/loans (Submit_barcode_checkout)1745285.63404141275.473076047347.89640.665712528.165109
GET_circulation/loans (Submit_patron_barcode)174636.23262





65991548.853773
GET_circulation/requests (Submit_barcode_checkin)








49601171.583366.5
GET_circulation/requests_status_Open (Submit_patron_barcode)








65961120.863117.2
GET_circulation/requests (Submit_barcode_checkout)








6565997.173095.7
GET_users (Submit_patron_barcode)1747121.36129


6050136.53368.456603872.722508.6
GET_inventory/items (Submit_barcode_checkin)1289107.55130.53305111.121364576165.7469.154970848.622773
GET_users (Get_check_in_page)1290120.27140


4577165.61506.34977836.342577.1
GET_inventory/items (Submit_barcode_checkout)1746107.881304143110.181366048160.44468.556594757.242602
GET_circulation/requests_status_openAwaitingPickup (Submit_patron_barcode)








6594718.982636
  • empty cells - response times less than 100 ms

Longevity test

Expand
titleGraphs (Response times)

Longevity 24 hours

Throughput

...

During the test RDS grew from 32% to 40% in average. Spikes observed after 10 hours

RDS Database Connections

For both 45 minute and longevity tests RDS used max 867 connections. Without test it was 812 connections.

45 minute tests

Longevity test

CPU (User) usage by broker

Common CPU utilization by broker during all tests was 18, 15, 15, 13 % accordingly to broker distribution in 45 min tests

Common CPU utilization by broker during longevity was 18, 18, 16, 14% accordingly to broker distribution. Resource utilization decreased significantly after 6 hours 20 minutes (17:40 UTC) to 14, 12, 12, 11%

45 minute tests

Longevity test

Database load

45 minute tests

Longevity

Target Group 5XX Count

...

  • Steps to avoid possible session or token expiration:
    •  modify tenant/realm-settings/tokens in keycloaks UI to 24 hours (1 day)
     
    • modify tenant/realm-settings/sessions in keycloaks UI to 24 hours (1 day) Default - 10 hours
  • Run data preparation script before each CI/CO test
  • Update .jmx file script for Quesnelia release
  • Create  artefact and upload to carrier-io
  • Use Jenkins job to change parameters and run tests
  • Test CI/CO with 8, 20, 30, 75 concurrent users for 45 minutes each. 
  • Test CI/CO with 30 users for 24 hours to detect any trends in memory. 

...