diff --git a/README.md b/README.md index d739f8b..695ad96 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Gatling Community](https://img.shields.io/badge/Community-Gatling-e28961?style=for-the-badge&logo=discourse)](https://community.gatling.io) > [!WARNING] -> The documentation now lives on the Gatling website and can be found [here](https://gatling.io/docs/current/extensions/gradle_plugin/). +> The documentation now lives on the Gatling website and can be found [here](https://docs.gatling.io/reference/integrations/build-tools/gradle-plugin/). ## Dev testing diff --git a/src/main/groovy/io/gatling/gradle/GatlingEnterpriseUploadTask.groovy b/src/main/groovy/io/gatling/gradle/GatlingEnterpriseUploadTask.groovy index b623d89..b6d7309 100644 --- a/src/main/groovy/io/gatling/gradle/GatlingEnterpriseUploadTask.groovy +++ b/src/main/groovy/io/gatling/gradle/GatlingEnterpriseUploadTask.groovy @@ -26,7 +26,7 @@ class GatlingEnterpriseUploadTask extends DefaultTask { } else { throw new InvalidUserDataException("You need to either configure gatling.enterprise.packageId (or pass it with '-D${ConfigurationConstants.UploadOptions.PackageId.SYS_PROP}=') " + "or gatling.enterprise.simulationId (or pass it with '-D${ConfigurationConstants.UploadOptions.SimulationId.SYS_PROP}=') to upload a package." + - "Please see https://gatling.io/docs/gatling/reference/current/extensions/gradle_plugin/#working-with-gatling-enterprise-cloud for more information.") + "Please see https://docs.gatling.io/reference/integrations/build-tools/gradle-plugin/#running-your-simulations-on-gatling-enterprise-cloud for more information.") } } } diff --git a/src/main/groovy/io/gatling/gradle/GatlingPluginExtension.groovy b/src/main/groovy/io/gatling/gradle/GatlingPluginExtension.groovy index e0d6b44..ddf72b7 100644 --- a/src/main/groovy/io/gatling/gradle/GatlingPluginExtension.groovy +++ b/src/main/groovy/io/gatling/gradle/GatlingPluginExtension.groovy @@ -213,7 +213,7 @@ class GatlingPluginExtension { if (!apiToken) { throw new InvalidUserDataException(""" |An API token is required to call the Gatling Enterprise server. - |See https://gatling.io/docs/enterprise/cloud/reference/admin/api_tokens/ and create a token wil the role 'Configure'. + |See https://docs.gatling.io/reference/execute/cloud/admin/api-tokens/ and create a token wil the role 'Configure'. |You can then set your API token's value in the environment variable '${ConfigurationConstants.ApiToken.ENV_VAR}', pass it with '-D${ConfigurationConstants.ApiToken.SYS_PROP}=' or add the configuration to your Gradle settings, e.g.: |gatling.enterprise.apiToken \"MY_API_TOKEN_VALUE\" """.stripMargin() diff --git a/src/main/groovy/io/gatling/gradle/UnsupportedClientPluginException.java b/src/main/groovy/io/gatling/gradle/UnsupportedClientPluginException.java index 542780b..7d15448 100644 --- a/src/main/groovy/io/gatling/gradle/UnsupportedClientPluginException.java +++ b/src/main/groovy/io/gatling/gradle/UnsupportedClientPluginException.java @@ -3,7 +3,7 @@ public final class UnsupportedClientPluginException extends Exception { public UnsupportedClientPluginException(Exception cause) { super( - "Please update the Gatling Gradle plugin to the latest version for compatibility with Gatling Enterprise. See https://gatling.io/docs/gatling/reference/current/extensions/gradle_plugin/ for more information about this plugin.", + "Please update the Gatling Gradle plugin to the latest version for compatibility with Gatling Enterprise. See https://docs.gatling.io/reference/integrations/build-tools/gradle-plugin/ for more information about this plugin.", cause ); }