You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brian Jinwright edited this page Jul 12, 2019
·
3 revisions
Anatomy of the LoadLamb.yaml Config File
Example File
name: your_project_name # The name of the projectrepo: example # The repo of the site you're testinguser_num: 50# The number of users to simulateuser_batch_size: 10# The number of users we create at a time. Value should be from 1-10user_batch_sleep: 5# The number of seconds that LoadLamb should sleep between user groupstimeout: 300# The timeout for a single requestusers: # For all of the login Request classes
- username: your_userpassword: your_password
- username: your_user2password: your_password stages:
- name: stagingbranch: developurl: http://staging.example.org/
- name: prodbranch: masterurl: http://example.orgtasks: # Lists of tasks for each simulated user
- path: / # The path on the site for the request method_type: GET # The HTTP method that should be usedcontains: Welcome # Test to make sure the specified text appears on the page
- path: /login/request_class: loadlamb.contrib.requests.login.RemoteLogin
- path: /account/profile/method_type: GETcontains: My Profilepayload:
- some_url_var: test
- some_url_var: test-b
- path: /account/profile/update/method_type: POSTcontains: Update My Profiledata:
- username: brianaddress: 123 Any Ln
- username: mikejordanaddress: 123 Broad St