From cc75ef215c6f11c9b95d94e94abc7a73b2e033a6 Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Tue, 8 Oct 2024 22:49:43 +0300 Subject: [PATCH] Docs --- docs/Configuration.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index 7e1b2275..e523b30d 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -102,13 +102,26 @@ Requests are not repeated, only 1 attempt is allocated for all requests. # Reporting Experience If you want to redirect agent to send test results into some another way, there are several options: -- `Launch:Id` (UUID of existing launch) - agent will append test results into provided Launch ID. Launch should be *IN_PROGRESS* state, agent will not finish it. It's your responsibility to start and finish launch. Usefull for distributed test execution, where tests are running on different machines and you want to see consolidated report. +- `Launch:Id` (UUID of existing launch) - agent will append test results into provided Launch ID. Launch should be *IN_PROGRESS* state, agent will not finish it. It's your responsibility to start and finish launch. Useful for distributed test execution, where tests are running on different machines and you want to see consolidated report. - `Launch:Rerun` (true/false/yes/no) - agent will try to add new tests into existing launch (compared by name) or adds new attempt/retry for existing tests. - `Launch:RerunOf` (UUID of existing launch) - agent will try to add new tests into existing launch (by ID) or adds new attempt/retry for existing tests. Takes effect only if `Launch:Rerun` is `true`. +## Attachments +In additional of attaching artifacts during tests execution [dynamically](./Logging.md), it is possible to configure file attachments at launch level statically via files pattern. Set `Launch:Artifacts` configuration property to set of file patterns, and files will be automatically attached after tests execution. + +Example: +```json +// ... +{ + "launch":{ + // ... + "artifacts": ["*.log", "screenshots/*.png"] + } +} +``` # Analytics -Each time when new launch is posted to RP server, reporting engine sends this fact to google analytics service. It doesn't collect sensetive information, just name and version of used engine/agent. +Each time when new launch is posted to RP server, reporting engine sends this fact to google analytics service. It doesn't collect sensitive information, just name and version of used engine/agent. This behavior can be turned off through `Analytics:Enabled` configuration property. \ No newline at end of file