Commit d250cf77 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'gy-fix-load-perf-docs' into 'master'

Fix incorrect code in load perf docs

See merge request gitlab-org/gitlab!45877
parents a6a84a12 fa64ce59
---
title: Fix incorrect code in Load Performance Testing docs
merge_request: 45877
author:
type: other
...@@ -156,7 +156,7 @@ The best approach is to capture the dynamic URL in a [`.env` file](https://docs. ...@@ -156,7 +156,7 @@ The best approach is to capture the dynamic URL in a [`.env` file](https://docs.
as a job artifact to be shared, then use a custom environment variable we've provided named `K6_DOCKER_OPTIONS` as a job artifact to be shared, then use a custom environment variable we've provided named `K6_DOCKER_OPTIONS`
to configure the k6 Docker container to use the file. With this, k6 can then use any to configure the k6 Docker container to use the file. With this, k6 can then use any
environment variables from the `.env` file in scripts using standard JavaScript, environment variables from the `.env` file in scripts using standard JavaScript,
such as: ``http.get(`${__ENV.ENVIRONMENT_URL`})``. such as: ``http.get(`${__ENV.ENVIRONMENT_URL}`)``.
For example: For example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment