gstreamer/subprojects/gst-devtools/validate/launcher
Thibault Saunier 78cf4706d9 validate: launcher: add HTTP server control endpoints
Add administrative REST API endpoints to RangeHTTPServer allowing tests to:

- Configure HTTP return codes for specific paths:
  * PUT /admin/status-rules to set rules
  * Support time-based expiry with "during" parameter
  * Support count-based expiry with "repeat" parameter
  * DELETE /admin/status-rules/<path> to remove rules

- Track failure statistics:
  * PUT /admin/failure-counts/start to begin monitoring
  * GET /admin/failure-counts/<path> to get current count

Useful for testing HTTP retry mechanisms, error handling and failure
recovery behaviors.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8128>
2025-02-24 16:57:22 +00:00
..
apps validate: miscellaneous Python cleanups 2025-02-22 10:30:35 +00:00
testsuites validate: skip curlhttpsrc test_get_range when running in valgrind 2024-10-26 02:10:37 +01:00
__init__.py Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
baseclasses.py validate: scenario: Add an action type to start the http scenario 2025-02-24 16:57:22 +00:00
config.py.in Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
httpserver.py Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
loggable.py validate: loggable: fix Callable import 2022-01-11 16:39:56 +00:00
main.py validate: launcher: Remove log files for passing tests by default 2024-11-07 20:52:45 +00:00
meson.build meson: update for meson.build_root() and .build_source() deprecation 2021-10-20 11:20:44 +00:00
RangeHTTPServer.py validate: launcher: add HTTP server control endpoints 2025-02-24 16:57:22 +00:00
reporters.py validate: Properly use errors = 'replace' for handling invalid utf8 characters 2024-09-05 18:58:24 +00:00
utils.py validate: launcher: Add support for lldb 2024-09-10 11:23:02 +00:00
vfb_server.py Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00