Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser performance test with locust #3887

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

atodorov
Copy link
Member

No description provided.

@atodorov atodorov force-pushed the browser_performance_test_with_locust branch from 6887446 to 0049adf Compare January 21, 2025 20:12
@atodorov atodorov force-pushed the browser_performance_test_with_locust branch from 0049adf to 76ab819 Compare January 21, 2025 21:04
@atodorov atodorov force-pushed the browser_performance_test_with_locust branch 2 times, most recently from 5336752 to 51f8826 Compare January 22, 2025 14:28
@atodorov atodorov force-pushed the browser_performance_test_with_locust branch 2 times, most recently from 7ce8374 to f608ad7 Compare January 23, 2025 22:04
@atodorov atodorov force-pushed the browser_performance_test_with_locust branch 3 times, most recently from c72c044 to b7d339e Compare January 27, 2025 21:20
b/c the PlaywrightUser implementation has the notion of logging TASK
(the entire function) and EVENT (a named context manager) but doesn't
show you what happens underneath or when some of the underlying requests
for a page actually start failing.
this makes the reports cleaner b/c we have lots of different small files
requested by the HTML pages and the full report gets obscured!
@atodorov atodorov force-pushed the browser_performance_test_with_locust branch 2 times, most recently from bdc9944 to 7a9b4e3 Compare January 29, 2025 11:09
- tasks simulate most commonly performed actions and can be used for
  some sort of web performance testing/analysis

- task frequency comes from curated plausible.io stats

- reuse the existing JSON-RPC login and add the sessionid cookie
  to the browser context instead of logging in via the browser which
  greatly simplifies the code and uses only publicly available API!
@atodorov atodorov force-pushed the browser_performance_test_with_locust branch from 7a9b4e3 to b98d91d Compare January 29, 2025 22:17
@atodorov atodorov marked this pull request as ready for review January 30, 2025 10:33
@atodorov atodorov merged commit 87dd61f into master Jan 30, 2025
39 of 45 checks passed
@atodorov atodorov deleted the browser_performance_test_with_locust branch January 30, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant