Microservice-Tailored Generation of Session-Based Workload Models for Representative Load Testing

Load tests are commonly used to assess the performance of an application system. A representative load test uses workload characteristics according to the user behavior in production. Session-based systems have special workload characteristics as the system is used as sequences of inter-related requ...

Full description

Saved in:
Bibliographic Details
Published inProceedings - International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems pp. 323 - 335
Main Authors Schulz, Henning, Angerstein, Tobias, Okanovic, Dusan, van Hoorn, Andre
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.10.2019
Subjects
Online AccessGet full text
ISBN9781728149509
1728149509
ISSN2375-0227
DOI10.1109/MASCOTS.2019.00043

Cover

Abstract Load tests are commonly used to assess the performance of an application system. A representative load test uses workload characteristics according to the user behavior in production. Session-based systems have special workload characteristics as the system is used as sequences of inter-related requests. Approaches exist to automatically extract session-based workload models from production request logs. However, they focus on system-level testing, which is in stark contrast with modern development practices, where one development team is in charge of developing, testing, and deploying a single microservice. Hence, representative session-based workload models for testing single microservices and their integration are desirable. To deal with these issues, we propose a concept for tailoring a representative load test workload to target only certain services, instead of targeting the whole system. Our goal is to transform the workload for one or more specified service(s) from the system-level workload collected in production. Using this approach, only a subset of the application's microservices is deployed for a load test, specifically the targeted services and the services they depend on. We propose two algorithms. The log-based algorithm deals with extracting the workload for a specific service from collected production traces. The model-based algorithm performs the workload tailoring on the level of the workload model. In an experiment series with a representative microservice application, we compare both algorithms with system-level and request-based workoad models. The results show that when load testing a set of services, the tailored workload models outperform untailored workload models in terms of test duration and the capacity of the test infrastructure, and outperform request-based workload models in terms of representativeness.
AbstractList Load tests are commonly used to assess the performance of an application system. A representative load test uses workload characteristics according to the user behavior in production. Session-based systems have special workload characteristics as the system is used as sequences of inter-related requests. Approaches exist to automatically extract session-based workload models from production request logs. However, they focus on system-level testing, which is in stark contrast with modern development practices, where one development team is in charge of developing, testing, and deploying a single microservice. Hence, representative session-based workload models for testing single microservices and their integration are desirable. To deal with these issues, we propose a concept for tailoring a representative load test workload to target only certain services, instead of targeting the whole system. Our goal is to transform the workload for one or more specified service(s) from the system-level workload collected in production. Using this approach, only a subset of the application's microservices is deployed for a load test, specifically the targeted services and the services they depend on. We propose two algorithms. The log-based algorithm deals with extracting the workload for a specific service from collected production traces. The model-based algorithm performs the workload tailoring on the level of the workload model. In an experiment series with a representative microservice application, we compare both algorithms with system-level and request-based workoad models. The results show that when load testing a set of services, the tailored workload models outperform untailored workload models in terms of test duration and the capacity of the test infrastructure, and outperform request-based workload models in terms of representativeness.
Author van Hoorn, Andre
Schulz, Henning
Okanovic, Dusan
Angerstein, Tobias
Author_xml – sequence: 1
  givenname: Henning
  surname: Schulz
  fullname: Schulz, Henning
  organization: Novatec Consulting GmbH, Germany
– sequence: 2
  givenname: Tobias
  surname: Angerstein
  fullname: Angerstein, Tobias
  organization: Novatec Consulting GmbH, Germany
– sequence: 3
  givenname: Dusan
  surname: Okanovic
  fullname: Okanovic, Dusan
  organization: University of Stuttgart, Germany
– sequence: 4
  givenname: Andre
  surname: van Hoorn
  fullname: van Hoorn, Andre
  organization: University of Stuttgart, Germany
BookMark eNotjN1KAzEUhANWsK19Ab3JC2w9-Ws2l7VoFbYU7IqXJbs5kei6KclS8O1d0YthBr6ZmZFJH3sk5IbBkjEwd7v1YbOvD0sOzCwBQIoLsjC6ZJqXTBoFZkKmXGhVAOf6isxy_gAY20pMid2FNsWM6RxaLGobupjQ0S32mOwQYk-jpwfMeYzFvc0je4vps4vW0V102GXqY6IveEqYsR_GzRlp9YtrzEPo36_JpbddxsW_z8nr40O9eSqq_fZ5s66KwEEMRetsy51lIBpnuWeiKa10TGvJpDASvfMOvFErpVHBynPZCC20XmkpVOO8mJPbv9-AiMdTCl82fR_LUgo-6gfTQFhS
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/MASCOTS.2019.00043
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EndPage 335
ExternalDocumentID 8843284
Genre orig-research
GroupedDBID 29O
6IE
6IK
6IL
AAJGR
ACGFS
ALMA_UNASSIGNED_HOLDINGS
CBEJK
M43
RIE
RIL
RNS
ID FETCH-LOGICAL-i203t-cdac2da103bda2f13b8a4d177414394efdfd0f95657e506f24b3737767435bdf3
IEDL.DBID RIE
ISBN 9781728149509
1728149509
ISSN 2375-0227
IngestDate Wed Aug 27 02:42:11 EDT 2025
IsPeerReviewed false
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i203t-cdac2da103bda2f13b8a4d177414394efdfd0f95657e506f24b3737767435bdf3
PageCount 13
ParticipantIDs ieee_primary_8843284
PublicationCentury 2000
PublicationDate 2019-Oct
PublicationDateYYYYMMDD 2019-10-01
PublicationDate_xml – month: 10
  year: 2019
  text: 2019-Oct
PublicationDecade 2010
PublicationTitle Proceedings - International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems
PublicationTitleAbbrev MASCOTS
PublicationYear 2019
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0020153
ssib039412564
Score 2.1664464
Snippet Load tests are commonly used to assess the performance of an application system. A representative load test uses workload characteristics according to the user...
SourceID ieee
SourceType Publisher
StartPage 323
SubjectTerms Data mining
Load modeling
load testing
Markov processes
microservices
Production
Testing
Transforms
Unified modeling language
workload model generation
Title Microservice-Tailored Generation of Session-Based Workload Models for Representative Load Testing
URI https://ieeexplore.ieee.org/document/8843284
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3LT8IwGG-AkydUML7Tg0cL3bqx7qhGQ4wzRiDhRtq1NUSyGRke_Ovt124YjQdveyR7tN2-72t_D4QuYhkYGjFFNA01ibiMSapiSmxqzmKTaJM6F4XscTSeRffzeN5Cl1sujNbagc_0ADbdWr4q8w1MlQ05j5j9nbZRO-Ejz9Vqxg5LIxuqIfWviy0b5pgzlkuAgRyCNx9YMUFBQNNa62m737BpaDrMria2mJ4A6Cv1Up4_fFdc2Lnroqx5YI82eR1sKjnIP39pOf73jXZR_5vgh5-2oWsPtXSxj7qNwwOuP_geEhng9db-f0KmYgk3UNhrVUOX4tLgiZf2INc2ICoMs--rUigMLmurNbZJMX52cFvPcvrQ-AFOT0Heo3jpo9nd7fRmTGpTBrIMKatIrkQeKhFQJpUITcAkF5EKbBYZAMlWG2UUNSmspuqYjkwYSZYwpxnEYqkMO0Cdoiz0IcJJEBiZJzbloPYSieA5S7nUWmjFbcGfHKEetNjizetuLOrGOv778AnagT7zQLtT1KneN_rMJgyVPHcj5QvYZbpS
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3LT8IwGG8QD3pCBePbHjxa7NaWbUc1ElRGjEDCjbRra4iEGQEP_vX2WwdG48HbHskebbfv-9rfA6ELoQJLOdPE0NAQHitBEi0ocak5EzYyNilcFNJeqzPkDyMxqqDLNRfGGFOAz0wTNou1fJ1nS5gqu4pjztzvdANtCs658Gyt1ehhCXfBGpL_stxygY4V1nIRcJBDcOcDMyYoCWhSqj2t91d8Gppcpdd9V073AfaVeDHPH84rReBp11C6emSPN3ltLheqmX3-UnP87zvtoMY3xQ8_rYPXLqqY2R6qrTwecPnJ15FMAbE3938UMpATuIHGXq0aOhXnFve9uAe5cSFRY5h_n-ZSY_BZm86xS4vxcwG49TynD4O7cHoAAh-zlwYatu8Gtx1S2jKQSUjZgmRaZqGWAWVKy9AGTMWS68DlkQHQbI3VVlObwHqqEbRlQ65YxArVICaUtmwfVWf5zBwgHAWBVVnkkg7qLhHJOGNJrIyRRseu5I8OUR1abPzmlTfGZWMd_X34HG11Bml33L3vPR6jbeg_D7s7QdXF-9KcuvRhoc6KUfMFzBC9nw
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+-+International+Symposium+on+Modeling%2C+Analysis%2C+and+Simulation+of+Computer+and+Telecommunication+Systems&rft.atitle=Microservice-Tailored+Generation+of+Session-Based+Workload+Models+for+Representative+Load+Testing&rft.au=Schulz%2C+Henning&rft.au=Angerstein%2C+Tobias&rft.au=Okanovic%2C+Dusan&rft.au=van+Hoorn%2C+Andre&rft.date=2019-10-01&rft.pub=IEEE&rft.isbn=9781728149509&rft.issn=2375-0227&rft.spage=323&rft.epage=335&rft_id=info:doi/10.1109%2FMASCOTS.2019.00043&rft.externalDocID=8843284
thumbnail_l http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=2375-0227&client=summon
thumbnail_m http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=2375-0227&client=summon
thumbnail_s http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=2375-0227&client=summon