Commit Graph

970 Commits

Author SHA1 Message Date
Olivier Briat e700c62f01 Add faq item: Basic auth (Authorization header) does not work after redirection
Signed-off-by: Olivier Briat <olivier.briat@kleegroup.com>
2024-10-03 13:24:31 +02:00
Lars Holmberg e928911e48 changelog 2024-09-28 13:41:33 +02:00
Lars Holmberg 63a6adf1aa docs: move installation note 2024-09-26 11:00:17 +02:00
Lars Holmberg 9be6b63b5a remove extra header in docs 2024-09-26 10:58:32 +02:00
Lars Holmberg 36e4f31ab6 docs: mark uvx install as "alternative" 2024-09-26 10:45:09 +02:00
Lars Holmberg 01db799861 changelog 2024-09-25 19:12:58 +02:00
Lars Holmberg d7fc3b48ab changelog 2024-09-15 11:43:02 +02:00
Lars Holmberg 92fda19a88 doc fix 2024-09-15 11:42:34 +02:00
Lars Holmberg 8dd0d46fb5 docs 2024-09-11 11:20:18 +02:00
Lars Holmberg 43c87ec0e5 Docs: add link to OTEL demo repo for sending traces to opentelemetry collector 2024-09-11 11:20:09 +02:00
Lars Holmberg f42d488001 running poetry-installed locust requires poetry run prefix 2024-09-06 12:28:12 +02:00
Lars Holmberg 87c4fc7103 update docs for dev install 2024-09-06 11:59:10 +02:00
Lars Holmberg f24016224d fix doc 2024-09-06 11:53:27 +02:00
Lars Holmberg cba798584f changelog 2.31.5 2024-08-31 20:01:08 +02:00
Lars Holmberg 460908d95d
Merge pull request #2873 from mquinnfd/build-pipeline-cleanup-merge
Cleaning and improvements in the Build Pipeline
2024-08-30 14:01:01 +02:00
Lars Holmberg 169a62be5b docs fixes 2024-08-30 11:38:30 +02:00
Lars Holmberg cca42e1844 Document use with uvx 2024-08-30 11:32:16 +02:00
Lars Holmberg d5b0cd1d5c Document installation with uvx 2024-08-30 10:50:23 +02:00
Matthew Quinn 7d7bfc673d updating PR comments 2024-08-30 08:57:48 +01:00
Lars Holmberg 44f15db10e docs: add note about request context not having any impact unless you actually listen for the event 2024-08-28 17:01:10 +02:00
Lars Holmberg b183e054b8 update changelog for 2.31.4 2024-08-26 16:38:10 +02:00
Matthew Quinn cf78766a74 merge updates 2024-08-26 12:26:33 +01:00
Matthew Quinn 009db23cdb add poe to control pre-build hooks 2024-08-18 12:53:05 +01:00
Lars Holmberg 6a3f478295 changelog 2024-08-15 20:25:25 +02:00
Lars Holmberg 2c833253ca Update changelog for 2.31.3 2024-08-15 14:50:31 +02:00
Lars Holmberg baa9d23168 add note about --config-users format being experimental. 2024-08-14 14:17:33 +02:00
Lars Holmberg 114144a0cd improve docs for --config-users 2024-08-14 13:54:42 +02:00
Lars Holmberg 3db7e73088 Update changelog for 2.31.2. 2024-08-06 21:17:28 +02:00
Sam Wright c33231b6cf Ruff --fix 2024-08-06 16:25:00 +02:00
Sam Wright 015d12324f Configure html_baseurl and jinja on RTD 2024-08-06 16:07:47 +02:00
Lars Holmberg 336107343a update changelog for 2.31.1 2024-08-05 19:33:58 +02:00
Lars Holmberg 44235ce3f5 Update changelog for 2.31.0 2024-08-05 16:17:41 +02:00
Andrew Baldwin 45c61661bf
Locust UI as a Module (#2804)
* Add locust lib build

* Configure LocustUi exports, props, and types

* Update with correct types

* Provide additional exports

* Add documentation

* Remove react-redux dependency

* Fix build

* Fix tests

* Update documentation

* Update docs

* Remove example

* Argument parser

* Update README.md

* Remove example

* Frontend tests

* Fix build path

* precommit

* precommit

* Add LICENSE

* Update vite lib config

* Update exports

* Add repository to package.json

* Remove private flag

* Update README

* Add generic to LineChart

* Allow for using locust MUI theme in lib

* Add chart formatting

* Add immediate

* Add swarm_start

* Update chartFormatter type

* Update README
2024-08-01 22:22:51 +02:00
Lars Holmberg ef429cd77e changelog remove extra links 2024-07-31 15:49:42 +02:00
Lars Holmberg 3ee0b1ff19 changelog 2024-07-31 15:38:48 +02:00
Lars Holmberg 925c0f5722 fix changelog formatting 2024-07-31 15:36:39 +02:00
Lars Holmberg 54cbc53bb0 Update changelog for 2.30.0 2024-07-31 15:33:40 +02:00
Lars Holmberg aa3801220d docs: remove newline 2024-07-25 14:12:09 +02:00
Lars Holmberg 5bfebeca07 Document connection reuse for HttpUser 2024-07-25 14:04:51 +02:00
Lars Holmberg 7152dc4c41 Add example of a bottlenecked server and use that test to make a new graph for the docs. 2024-07-17 22:10:05 +02:00
Matthew Quinn c9bf5bb96d update doc instructions for python 2024-07-11 16:33:42 +01:00
Matthew Quinn d24417c471 update development doc instructions 2024-07-11 14:17:56 +01:00
Matthew Quinn 0da8fa101b
Poetry build system (#2725)
* remove generated front end bundle

* add poetry and front end dist to vcs ignore

* update build system manifest for poetry

- Modify pyproject.toml file for poetry build system
- Adds build script to generate front end as part of poetry build
- Adds renaming script to remove architecture info from wheel file name
- Updates Makefile to call the correct build steps with `make build`

* chmod on release renaming script

* re-add wheel extension to changed file name

* ensure vsc autoversioning plugin

* ensure vcs auto versioning plugin

* revert vscode settings

* add local dev install command

* add version file to package output

* only include poetry lock in sdist

* run build setup as one shell

* check if yarn is installed before building

* deny poetry venvs creation

* remove poetry installation and just check for poetry and yarn

* update URLs for related info

* Ensure spawning_complete happens only once on workers.

* Update various test cases for new spawning_complete behavior.

* Simplify additional test cases using the new get_messages function.

* Set worker_state to 'running' in start_worker (this used to be by spawning_complete before https://github.com/locustio/locust/pull/2728, but now that only happens once *all* workers have finished)

* Simplify semaphore_wait example

* Reverse accidental change

* Update WorkerRunner.state when spawn cycle is done (it used to rely on the event happening)

* Further simplify example

* Rewrite confusing error messages if someone accesses an HTTP Web UI using https

* Convert report time to locale time

* Update HTML report tests

* Use requests 2.32.2 or higher for Python 3.12, fixes #2555

* Upgrade Sphinx to latest version

* Add to extensions also?

Mentioned in https://sphinx-rtd-theme.readthedocs.io/en/stable/installing.html#how-to-install-and-use-the-theme

* hash anchors in setup docs pages

* testing version of pep440 generator

* remove dist

* ignore dist contents

* include changes to pyproject from main - requests version

* Remove unnecessary python

https://sphinx-rtd-theme.readthedocs.io/en/stable/installing.html

* Downgrade docutils to officially supported

* Restore theme name

* Fix ruff error

* Rename css options

* Conform to style

* Add timestamp to chart tooltip

* Add zoom to echarts

* Update test

* Fix empty timestamp formatting

* Round total_avg_response_time from history

* Reduce CSV_STATS_FLUSH_INTERVAL_SEC to 5 seconds by default (more reasonable in the time of SSD:s :) and remove it from the docs (because it will only rarely need to be adjusted, and increasing it is a very unusual need)

* Dial back the API TOC

* doc formatting fix

* Modify timestamp generation to remove deprecation warning

* Add newline at the end of the file

* Fix incorrect error message detection for https requests introduced in 84ada19a22

* update build system manifest for poetry

- Modify pyproject.toml file for poetry build system
- Adds build script to generate front end as part of poetry build
- Adds renaming script to remove architecture info from wheel file name
- Updates Makefile to call the correct build steps with `make build`

* remove merge object

* test commit distance

* jinja templating for format number

* simple vesion formatting

* take a stab at updating workflows for poetry

* might as well add discussions forum while I'm here

* add docs serve command to makefile

* developing locust docs page

* make readme and pyproject align in terms of URLs

* remove unused py version in wheel

* adjust dockerfile for poetry build

* add dev dependency group

* docs dependencies

* docs dependencies and readme

* venv for tests

* RTD config for versioning

* rtd step

* don't run the build script on the remote

* rtd

* tests and tox

* tox fixes

* progress on CI runners locally

* skip front end build

* in-progress

* run on remotes not my poor laptop

* run on remotes not my poor laptop

* ruff and mypy version

* yarn timeout for windows, update mypy

* windows plz

* windows plz

* add mypy as a dev dependency

* tests

* testing if this is actually a shell thing

* increase fetch depth for dunamai versioning

* I know what the problem is at least

* test windows

* tox install

* revert vs code settings

* remove oneshell directive from old installation process

* Update maintainers and authors

* move web ui to correct location

* update file exclusions

* skip fe build in fail-fast test

* pin some version dependencies

* update tox version

* add wheel renaming to prepublishing steps

---------

Co-authored-by: Lars Holmberg <lars@getlocust.com>
Co-authored-by: Andrew Baldwin <andrew.baldwin44@gmail.com>
Co-authored-by: Sam Wright <samuel@plaindocs.com>
Co-authored-by: Lars Holmberg <Lars.Holmberg@svenskaspel.se>
Co-authored-by: JavierUhagón <javier.uhagontorralvo@telefonica.com>
2024-07-05 10:05:49 +02:00
Lars Holmberg 34defecd58
Merge pull request #2742 from bakhtos/feature/sequential_task_set_optimize
Optimize `SequentialTaskSet`
2024-07-01 22:36:17 +02:00
Alexander Bakhtin 99ceab139e add: update documentation 2024-07-01 18:27:57 +03:00
Lars Holmberg e4d4f7ced2 changelog for 2.29.1 2024-06-25 12:40:48 +02:00
Lars Holmberg d4df346d7f
Merge pull request #2758 from NicoAdrian/master
Add proxy support for FastHttpUser
2024-06-25 12:36:13 +02:00
Andrew Baldwin 40cbd7a2fb Skip monkey patching with env variable 2024-06-20 11:13:34 -04:00
Lars Holmberg 1fc3143f1f move note to correct place in docs 2024-06-16 19:51:16 +02:00
Nicolas Adrian a665132b23 add proxy_host and proxy_port for FastHttpUser 2024-06-10 11:24:45 +02:00