Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 5e9d89b

Browse files
authored
Merge pull request #2477 from splunk/adasplunk-O11YDOCS-6693
Correct capitalization and fix some wording.
2 parents 4863f9b + 1d5eca8 commit 5e9d89b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

synthetics/test-config/global-variables.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
.. _global-variables:
22

33
*****************************************
4-
Create and use Global Variables
4+
Create and use global variables
55
*****************************************
66

77
.. meta::
88
:description: Define a variable that you can use in multiple browser and API tests in Splunk Synthetic Monitoring.
99

10-
Define a global variables once, then you can use the variable across all of your Browser and API tests.
10+
Define a global variable once, and then you can use the variable across all of your browser and API tests.
1111

1212

13-
How can you use global variables?
13+
How can you use a global variable?
1414
===================================
15-
Global variables are stored securely in the Splunk Synthetic Monitoring platform, but the keys and values of all global variables in your account are visible to all users.
15+
Global variables are stored securely in Splunk Synthetic Monitoring, but the keys and values of all global variables in your account are visible to all users.
1616

17-
To preserve your account's security, don't use production credentials, real credit card information, or other sensitive data in global variables for your checks. Instead, try using placeholder credentials to test workflows that require information to be entered during a test.
17+
To preserve your account's security, don't use production credentials, real credit card information, or other sensitive data in global variables for your tests. Instead, use placeholder credentials to test workflows that require you to enter information.
1818

19-
To use data such as test login credentials, API keys, or other test information, you can permanently conceal the value of a global variable from all users of your account.
19+
To use information such as login credentials, API keys, or other test data, you can permanently conceal the value of a global variable from all users of your account.
2020

2121
.. _concealed-gv:
2222

2323
What happens when you conceal a global variable?
2424
==================================================
25-
When you :strong:`conceal` a global variable, its value is permanently concealed from all users of the account. This lets you create and save variables such as test login credentials, API keys, and other sensitive information to use in Browser and API tests.
25+
When you conceal a global variable, its value is permanently concealed from all users of the account. This lets you create and save variables such as test login credentials, API keys, and other sensitive information to use in browser and API tests.
2626

2727
To preserve security, the value of a concealed global variable is never revealed to any user of the account after it has been created and saved. The value is scrubbed from the Splunk Synthetic Monitoring UI, from test results, and from alert messages.
2828

@@ -49,29 +49,29 @@ Once you're in the :guilabel:`Add global variable` dialog box, enter the followi
4949
#. Once you're satisfied with your global variable, select :guilabel:`Add`.
5050

5151

52-
Edit a Global Variable
52+
Edit a global variable
5353
====================================
54-
To edit the key or description of a global variable, visit the global variables page and edit within the field. Select :guilabel:`Save` when you're finished editing.
54+
To edit the key or description of a global variable, visit the :guilabel:`Global variables` page and edit within the field. Select :guilabel:`Save` when you're finished editing.
5555

5656
Editing the value of a saved concealed global variable clears the previous value. You must provide a new value and select :guilabel:`Save` to apply it.
5757

5858
.. _gv-test:
5959

6060
Use a global variable in a synthetic test
6161
=================================================
62-
You can use a global variable to fill in fields in the :guilabel:`Steps` and :guilabel:`synthetic transactions` of a Browser test, or in the requests of an API test. Global variables cannot be used in cookies.
62+
You can use a global variable to fill in fields in the :guilabel:`Steps` and :guilabel:`synthetic transactions` of a browser test, or in the requests of an API test. Global variables cannot be used in cookies.
6363

6464
While creating or editing a test, the right-hand :guilabel:`Variables` tab provides list of built-in variables and global variables you can use. Select the name of a variable to copy it to your keyboard.
6565

6666
.. _ gv-browser-test:
6767

68-
Use a global variable in a Browser test
68+
Use a global variable in a browser test
6969
--------------------------------------------
70-
Follow these steps to add a variable to your Browser test:
70+
Follow these steps to add a variable to your browser test:
7171

72-
#. While creating or editing a transactional Browser test, go to your :guilabel:`Steps`.
72+
#. While creating or editing a transactional browser test, go to your :guilabel:`Steps`.
7373
#. Under :guilabel:`Action`, select :guilabel:`Fill in field` from the dropdown menu.
74-
#. Under :guilabel:`Value`, enter the key for the global variable you want to use, use the ``env.`` prefix and enclosed in double curly braces. For example, to reference a global variable with the key dev-username, enter ``{{env.dev-username}}`` in the :guilabel:`Value` field.
74+
#. Under :guilabel:`Value`, enter the key for the global variable you want to use, prefixed with ``env.`` and enclosed in double curly braces. For example, to use a global variable with the key ``dev-username``, enter ``{{env.dev-username}}`` in the :guilabel:`Value` field.
7575
#. Finish editing or creating the test.
7676
#. :guilabel:`Save` your test.
7777

@@ -85,7 +85,7 @@ You can also use a global variable to fill in any field in an API test. For inst
8585
Follow these steps to add a variable to your API test:
8686

8787
#. While creating or editing an API test, go to your :guilabel:`Requests`.
88-
#. In a variable field for any setup, request, or validation step, enter the key for the global variable you want to use, use the ``env.`` prefix and enclosed in double curly braces. For example, to reference a global variable with the key ``staging-url``, enter ``{{env.staging-url}}`` in the field.
88+
#. In a variable field for any setup, request, or validation step, enter the key for the global variable you want to use, prefixed with ``env.`` and enclosed in double curly braces. For example, to use a global variable with the key ``staging-url``, enter ``{{env.staging-url}}`` in the field.
8989
#. Finish editing or creating the test.
9090
#. :guilabel:`Save` your test.
9191

0 commit comments

Comments
 (0)