Differences
This shows you the differences between two versions of the page.
tutorial:load_testing [2020/12/31 20:18] admin [Multi-model execution] |
tutorial:load_testing [2021/01/05 03:00] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tutorial: Load Testing with Runtime Servers ====== | ||
- | |||
- | Learning Objectives: | ||
- | * [[#Virtual Users (VUs)]] | ||
- | * [[#Model execution with VUs]] | ||
- | * [[# | ||
- | * [[#Load testing with multi-browser]] | ||
- | * [[#Load testing with Runtime Servers]] | ||
- | * [[#Load testing with cloud-based services]] | ||
- | * [[# | ||
- | * [[# | ||
- | |||
- | |||
- | ===== Virtual Users (VUs) ===== | ||
- | |||
- | Virtual Users (VUs) is an important concept in load testing and stress testing with each VU representing one testing session. | ||
- | |||
- | In // | ||
- | |||
- | A model is executed with one or many VUs. In the web application / website load testing, VU is used to simulate concurrent users. | ||
- | |||
- | Unlike typical load testing tool which submits pre-designed http packets or scenarios, // | ||
- | |||
- | ===== Model Execution with VUs ===== | ||
- | |||
- | When you execute a model, it uses one VU by default. | ||
- | |||
- | {{wiki: | ||
- | |||
- | Set the field " | ||
- | |||
- | You can also change how fast you want to ramp up the VUs by setting the " | ||
- | |||
- | For load / stress testing, typically you will want the model and all of its VUs to be running for a desired period of time. You can do so by setting " | ||
- | |||
- | |||
- | ===== Multi-model execution ===== | ||
- | |||
- | |||
- | ===== Load testing with multi-browser ===== | ||
- | |||
- | Selecting which browser to use to run load testing is done in the scripts, for example: | ||
- | | ||
- | |||
- | You may replace above script with the following to randomly choose a browser to run the testing for each VU: | ||
- | | ||
- | |||
- | If you wish to have more " | ||
- | | ||
- | |||
- | If you run the models through [[../ | ||
- | | ||
- | |||
- | where " | ||
- | |||
- | |||
- | |||
- | ===== Load testing with Runtime Servers ===== | ||
- | |||
- | ===== Load testing with cloud-based services ===== | ||
- | |||
- | ===== Simulating production load ===== | ||
- | |||
- | ===== Performance testing ===== | ||