uu.seUppsala University Publications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Implementing dynamic allocation of user load in a distributed load testing framework
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2013 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Load testing has become an increasingly important matter in today's web applications. Upon releases of popular applications its users can create massive load potentially making an application unreachable. The scope of this thesis was to investigate as well as further develop an open source load testing framework: Locust. Locust aims to help creating as authentic simulated user behavior as possible. This allows an application's user-load threshold to be measured by the number of users and not just "requests per second" as most other load testing tools do. A challenge in implementing allocation of user-load during runtime of a test was to make code fit to the distributed architecture that Locust supports. By having a distributed architecture, a Locust test can be scaled up to simulate millions of simultaneous users. Two libraries essential to Locust: Greenlet and Gevent are studied in this thesis. These libraries make in-process concurrency possible by providing an API for running code in coroutines also known as "micro-threads". Another ambition during this thesis was to implement a feature allowing an automatic algorithm to find the application threshold by ramping up the number of simulated users. The implementation and results are presented  in this thesis.

Place, publisher, year, edition, pages
2013.
Series
IT, 13 090
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:uu:diva-215075OAI: oai:DiVA.org:uu-215075DiVA: diva2:685934
Educational program
Bachelor Programme in Computer Science
Supervisors
Examiners
Available from: 2014-01-10 Created: 2014-01-10 Last updated: 2014-01-10Bibliographically approved

Open Access in DiVA

fulltext(700 kB)1863 downloads
File information
File name FULLTEXT01.pdfFile size 700 kBChecksum SHA-512
eb5209b512158e0b367ce952e460f197abea0d69c6ffe9b6625204cf9a0f4e758b7f50ce8c42c4ae5104bf6eee300b4dce529736a0fa85ad52822d7e4350500b
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 1863 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 535 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf