From ce2f3f83a1ba658cd73bf22466e078ac69f55ec5 Mon Sep 17 00:00:00 2001 From: Manju R Date: Fri, 30 Oct 2026 13:22:55 +0530 Subject: [PATCH] docs: document the EU cluster API host alongside token and project code Co-Authored-By: Claude Opus 5.5 --- qase-cucumber-v3-reporter/README.md | 9 +++++++-- qase-cucumber-v3-reporter/docs/usage.md | 12 ++++++++++-- qase-cucumber-v4-reporter/README.md | 9 +++++++-- qase-cucumber-v4-reporter/docs/usage.md | 12 ++++++++++-- qase-cucumber-v5-reporter/README.md | 9 +++++++-- qase-cucumber-v5-reporter/docs/usage.md | 12 ++++++++++-- qase-cucumber-v6-reporter/README.md | 9 +++++++-- qase-cucumber-v6-reporter/docs/usage.md | 12 ++++++++++-- qase-cucumber-v7-reporter/README.md | 9 +++++++-- qase-cucumber-v7-reporter/docs/usage.md | 12 ++++++++++-- qase-java-commons/README.md | 2 +- qase-junit4-reporter/README.md | 9 +++++++-- qase-junit4-reporter/docs/usage.md | 15 ++++++++++++--- qase-junit5-reporter/README.md | 9 +++++++-- qase-junit5-reporter/docs/usage.md | 15 ++++++++++++--- qase-testng-reporter/README.md | 9 +++++++-- qase-testng-reporter/docs/usage.md | 16 +++++++++++++--- 17 files changed, 144 insertions(+), 36 deletions(-) diff --git a/qase-cucumber-v3-reporter/README.md b/qase-cucumber-v3-reporter/README.md index 0f7042f4..e4122bd0 100644 --- a/qase-cucumber-v3-reporter/README.md +++ b/qase-cucumber-v3-reporter/README.md @@ -49,12 +49,15 @@ testImplementation 'io.qase:qase-cucumber-v3-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your scenario:** ```gherkin @@ -88,6 +91,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -98,7 +102,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "Cucumber 3 Automated Run" diff --git a/qase-cucumber-v3-reporter/docs/usage.md b/qase-cucumber-v3-reporter/docs/usage.md index 1b6b05df..859e1474 100644 --- a/qase-cucumber-v3-reporter/docs/usage.md +++ b/qase-cucumber-v3-reporter/docs/usage.md @@ -427,16 +427,20 @@ mvn clean test Set configuration via environment variables: ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -446,18 +450,22 @@ Pass configuration as system properties: **Maven:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` **Gradle:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` ### Filtering by Tags diff --git a/qase-cucumber-v4-reporter/README.md b/qase-cucumber-v4-reporter/README.md index 9abd618b..b80aa79b 100644 --- a/qase-cucumber-v4-reporter/README.md +++ b/qase-cucumber-v4-reporter/README.md @@ -49,12 +49,15 @@ testImplementation 'io.qase:qase-cucumber-v4-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your scenario:** ```gherkin @@ -88,6 +91,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -98,7 +102,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "Cucumber 4 Automated Run" diff --git a/qase-cucumber-v4-reporter/docs/usage.md b/qase-cucumber-v4-reporter/docs/usage.md index e41bdedf..8f4a5c19 100644 --- a/qase-cucumber-v4-reporter/docs/usage.md +++ b/qase-cucumber-v4-reporter/docs/usage.md @@ -427,16 +427,20 @@ mvn clean test Set configuration via environment variables: ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -446,18 +450,22 @@ Pass configuration as system properties: **Maven:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` **Gradle:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` ### Filtering by Tags diff --git a/qase-cucumber-v5-reporter/README.md b/qase-cucumber-v5-reporter/README.md index dad99da0..ecf6fb34 100644 --- a/qase-cucumber-v5-reporter/README.md +++ b/qase-cucumber-v5-reporter/README.md @@ -49,12 +49,15 @@ testImplementation 'io.qase:qase-cucumber-v5-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your scenario:** ```gherkin @@ -88,6 +91,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -98,7 +102,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "Cucumber 5 Automated Run" diff --git a/qase-cucumber-v5-reporter/docs/usage.md b/qase-cucumber-v5-reporter/docs/usage.md index 7c273754..4316485b 100644 --- a/qase-cucumber-v5-reporter/docs/usage.md +++ b/qase-cucumber-v5-reporter/docs/usage.md @@ -427,16 +427,20 @@ mvn clean test Set configuration via environment variables: ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -446,18 +450,22 @@ Pass configuration as system properties: **Maven:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` **Gradle:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` ### Filtering by Tags diff --git a/qase-cucumber-v6-reporter/README.md b/qase-cucumber-v6-reporter/README.md index ae9fefea..50ae1178 100644 --- a/qase-cucumber-v6-reporter/README.md +++ b/qase-cucumber-v6-reporter/README.md @@ -49,12 +49,15 @@ testImplementation 'io.qase:qase-cucumber-v6-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your scenario:** ```gherkin @@ -88,6 +91,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -98,7 +102,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "Cucumber 6 Automated Run" diff --git a/qase-cucumber-v6-reporter/docs/usage.md b/qase-cucumber-v6-reporter/docs/usage.md index 5f5a15ff..d4d4837c 100644 --- a/qase-cucumber-v6-reporter/docs/usage.md +++ b/qase-cucumber-v6-reporter/docs/usage.md @@ -427,16 +427,20 @@ mvn clean test Set configuration via environment variables: ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -446,18 +450,22 @@ Pass configuration as system properties: **Maven:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` **Gradle:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` ### Filtering by Tags diff --git a/qase-cucumber-v7-reporter/README.md b/qase-cucumber-v7-reporter/README.md index 68b7a9c3..6f6c19c5 100644 --- a/qase-cucumber-v7-reporter/README.md +++ b/qase-cucumber-v7-reporter/README.md @@ -50,12 +50,15 @@ testImplementation 'io.qase:qase-cucumber-v7-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your scenario:** ```gherkin @@ -89,6 +92,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -99,7 +103,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "Cucumber 7 Automated Run" diff --git a/qase-cucumber-v7-reporter/docs/usage.md b/qase-cucumber-v7-reporter/docs/usage.md index 6003bfd8..ce6540a2 100644 --- a/qase-cucumber-v7-reporter/docs/usage.md +++ b/qase-cucumber-v7-reporter/docs/usage.md @@ -427,16 +427,20 @@ mvn clean test Set configuration via environment variables: ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_token \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -446,18 +450,22 @@ Pass configuration as system properties: **Maven:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` **Gradle:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_token + -Dqase.testops.api.token=your_token \ + -Dqase.testops.api.host=qase.io ``` ### Filtering by Tags diff --git a/qase-java-commons/README.md b/qase-java-commons/README.md index 7ce36de3..8f3fc6cd 100644 --- a/qase-java-commons/README.md +++ b/qase-java-commons/README.md @@ -44,7 +44,7 @@ All configuration options are listed in the table below: | Local report format | `report.connection.format` | `QASE_REPORT_CONNECTION_FORMAT` | `QASE_REPORT_CONNECTION_FORMAT` | `json` | | `json`, `jsonp` | | **Qase TestOps configuration** | | | | | | | | Token for [API access](https://developers.qase.io/#authentication) | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | `QASE_TESTOPS_API_TOKEN` | undefined | Yes | Any string | -| Qase API host. For enterprise users, specify address: `example.qase.io` | `testops.api.host` | `QASE_TESTOPS_API_HOST` | `QASE_TESTOPS_API_HOST` | `qase.io` | No | Any string | +| Qase API host. `qase.io` is the US cluster; set `eu.qase.io` if your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`). For enterprise users, specify address: `example.qase.io` | `testops.api.host` | `QASE_TESTOPS_API_HOST` | `QASE_TESTOPS_API_HOST` | `qase.io` | Yes, on the EU cluster | Any string | | HTTP connect/read/write timeout in seconds (0 = OkHttp default 10s) | `testops.api.timeoutSeconds` | `QASE_TESTOPS_API_TIMEOUT_SECONDS` | `QASE_TESTOPS_API_TIMEOUT_SECONDS` | `0` | No | Any non-negative integer | | Qase enterprise environment | `testops.api.enterprise` | `QASE_TESTOPS_API_ENTERPRISE` | `QASE_TESTOPS_API_ENTERPRISE` | `False` | No | `True`, `False` | | Code of your project, which you can take from the URL: `https://app.qase.io/project/DEMOTR` - `DEMOTR` is the project code | `testops.project` | `QASE_TESTOPS_PROJECT` | `QASE_TESTOPS_PROJECT` | undefined | Yes | Any string | diff --git a/qase-junit4-reporter/README.md b/qase-junit4-reporter/README.md index d916cfa2..a48c9155 100644 --- a/qase-junit4-reporter/README.md +++ b/qase-junit4-reporter/README.md @@ -50,12 +50,15 @@ testImplementation 'io.qase:qase-junit4-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your test:** ```java @@ -97,6 +100,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -107,7 +111,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "JUnit 4 Automated Run" diff --git a/qase-junit4-reporter/docs/usage.md b/qase-junit4-reporter/docs/usage.md index 086e9b73..9986ebe0 100644 --- a/qase-junit4-reporter/docs/usage.md +++ b/qase-junit4-reporter/docs/usage.md @@ -554,17 +554,21 @@ Set Qase configuration via environment variables. **Maven:** ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_api_token_here \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` **Gradle:** ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_api_token_here \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -574,18 +578,22 @@ Pass configuration as system properties. **Maven:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_api_token_here + -Dqase.testops.api.token=your_api_token_here \ + -Dqase.testops.api.host=qase.io ``` **Gradle:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_api_token_here + -Dqase.testops.api.token=your_api_token_here \ + -Dqase.testops.api.host=qase.io ``` ### Targeting Specific Tests @@ -727,7 +735,8 @@ my-project/ "debug": false, "testops": { "api": { - "token": "your_api_token_here" + "token": "your_api_token_here", + "host": "qase.io" }, "project": "DEMO", "run": { diff --git a/qase-junit5-reporter/README.md b/qase-junit5-reporter/README.md index 60bf0ad7..e54ee58b 100644 --- a/qase-junit5-reporter/README.md +++ b/qase-junit5-reporter/README.md @@ -50,12 +50,15 @@ testImplementation 'io.qase:qase-junit5-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your test:** ```java @@ -97,6 +100,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -107,7 +111,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "JUnit 5 Automated Run" diff --git a/qase-junit5-reporter/docs/usage.md b/qase-junit5-reporter/docs/usage.md index 7b9b3530..548cd2b0 100644 --- a/qase-junit5-reporter/docs/usage.md +++ b/qase-junit5-reporter/docs/usage.md @@ -550,17 +550,21 @@ Set Qase configuration via environment variables. **Maven:** ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_api_token_here \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` **Gradle:** ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_api_token_here \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -570,18 +574,22 @@ Pass configuration as system properties. **Maven:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_api_token_here + -Dqase.testops.api.token=your_api_token_here \ + -Dqase.testops.api.host=qase.io ``` **Gradle:** ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_api_token_here + -Dqase.testops.api.token=your_api_token_here \ + -Dqase.testops.api.host=qase.io ``` ### Targeting Specific Tests @@ -723,7 +731,8 @@ my-project/ "debug": false, "testops": { "api": { - "token": "your_api_token_here" + "token": "your_api_token_here", + "host": "qase.io" }, "project": "DEMO", "run": { diff --git a/qase-testng-reporter/README.md b/qase-testng-reporter/README.md index b9874e9b..f0c3ce11 100644 --- a/qase-testng-reporter/README.md +++ b/qase-testng-reporter/README.md @@ -50,12 +50,15 @@ testImplementation 'io.qase:qase-testng-reporter:4.1.34' "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" } } } ``` +If your workspace is on the EU cluster (you open Qase at `app-eu.qase.io`), set `host` to `eu.qase.io`. The default, `qase.io`, is the US cluster. + **2. Add Qase ID to your test:** ```java @@ -97,6 +100,7 @@ The reporter is configured via (in order of priority): | `mode` | `QASE_MODE` | Set to `testops` to enable reporting | | `testops.project` | `QASE_TESTOPS_PROJECT` | Your Qase project code | | `testops.api.token` | `QASE_TESTOPS_API_TOKEN` | Your Qase API token | +| `testops.api.host` | `QASE_TESTOPS_API_HOST` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | ### Example `qase.config.json` @@ -107,7 +111,8 @@ The reporter is configured via (in order of priority): "testops": { "project": "YOUR_PROJECT_CODE", "api": { - "token": "YOUR_API_TOKEN" + "token": "YOUR_API_TOKEN", + "host": "qase.io" }, "run": { "title": "TestNG Automated Run" diff --git a/qase-testng-reporter/docs/usage.md b/qase-testng-reporter/docs/usage.md index 21285f9c..7b06b8ec 100644 --- a/qase-testng-reporter/docs/usage.md +++ b/qase-testng-reporter/docs/usage.md @@ -649,18 +649,22 @@ Override configuration using environment variables: #### Maven ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_api_token_here \ +QASE_TESTOPS_API_HOST=qase.io \ mvn clean test ``` #### Gradle ```bash +# Set QASE_TESTOPS_API_HOST to eu.qase.io if your workspace is on the EU cluster QASE_MODE=testops \ QASE_TESTOPS_PROJECT=DEMO \ QASE_TESTOPS_API_TOKEN=your_api_token_here \ +QASE_TESTOPS_API_HOST=qase.io \ ./gradlew clean test ``` @@ -671,19 +675,23 @@ Pass configuration as system properties (Java system properties): #### Maven ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster mvn clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_api_token_here + -Dqase.testops.api.token=your_api_token_here \ + -Dqase.testops.api.host=qase.io ``` #### Gradle ```bash +# Set qase.testops.api.host to eu.qase.io if your workspace is on the EU cluster ./gradlew clean test \ -Dqase.mode=testops \ -Dqase.testops.project=DEMO \ - -Dqase.testops.api.token=your_api_token_here + -Dqase.testops.api.token=your_api_token_here \ + -Dqase.testops.api.host=qase.io ``` ### Targeting Specific Tests @@ -754,6 +762,7 @@ Common configuration options: | `mode` | Reporter mode | `testops`, `report`, `off` | | `testops.project` | Qase project code | Project code (e.g., `DEMO`) | | `testops.api.token` | API token for authentication | Your API token | +| `testops.api.host` | `qase.io` (US cluster, the default) or `eu.qase.io` (EU cluster). Required if your workspace is on the EU cluster | `qase.io`, `eu.qase.io` | | `testops.run.id` | Existing run ID to append results | Run ID number | | `testops.run.title` | Custom run title | Any string | | `environment` | Environment slug | Environment identifier | @@ -934,7 +943,8 @@ project-root/ "testops": { "project": "DEMO", "api": { - "token": "your_api_token_here" + "token": "your_api_token_here", + "host": "qase.io" }, "run": { "title": "TestNG Regression",