~/talk

Load Tests of Mobile and Web Applications with locust.io

Talkat XtremePython 2022 · on Tuesday, 2022-12-27· [testing, web-performance]
name:Jan Sabak
links:none on file
slides:none on file

Shows how Locust is used as a Python library not a full framework: record a HAR, run HH Transformer to emit ugly Python, refactor into a sequential TaskSet that uses self.interrupt to stop after a flow, assert JSON response for "ok good answer", debug with if __name__ == '__main__', and run the Locust web UI on :8089 to ramp users. Mentions requests, Faker, CSS selectors, Fiddler/mitmproxy for mobile HARs, and a 20,000‑user run where RPS plateaus and response times rise.

AI-written summary · about

  1. 0:00Introduction to Locust
  2. 1:53Locust as a library
  3. 7:41Writing a simple test script
  4. 19:22Running and visualizing tests
  5. 25:35Libraries used with Locust
  6. 26:38Mobile app testing with Locust
  7. 28:52Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.