UI load tests + integration with Playwright #2799
Unanswered
Romarionijim
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi! Locust itself doesnt support UI testing, but because Locust is "just python", you can interact with Playwright from it. There's an implementation (maybe not the best or most performant) in locust-plugins: https://github.com/SvenskaSpel/locust-plugins/blob/master/examples/playwright_ex.py (its not really supported though, and you are on your own if you run into problems) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm an automation engineer, and I am a but new to load testing, I'm researching automation load testing tools to implement in my current workplace, and I have a few small questions regarding Locust.
I saw in the docs a small test example, but wanted to understand more, in order to use Locust for load testing, can I utilize an already existing framework written in playwright? meaning if I have existing UI page object model framework written in Python and playwright, can I reuse them for load tests?
does locust support load test for UI? because in the example it seems it support API endpoints and I think I'm missing the UI load testing to simulate thousands of users doing the same action in the UI.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions