Change search
ReferencesLink to record
Permanent link

Direct link
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
IT, 13 090
National Category
Engineering and Technology
URN: urn:nbn:se:uu:diva-215075OAI: diva2:685934
Educational program
Bachelor Programme in Computer Science
Available from: 2014-01-10 Created: 2014-01-10 Last updated: 2014-01-10Bibliographically approved

Open Access in DiVA

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

By organisation
Department of Information Technology
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 1444 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

Total: 290 hits
ReferencesLink to record
Permanent link

Direct link