You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: synthetics/browser-test/browser-test.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
.. _browser-test:
2
2
3
3
****************************************
4
-
Use a Browser test to test a webpage
4
+
Browser tests for webpages
5
5
****************************************
6
6
7
7
.. meta::
@@ -21,7 +21,7 @@ You can configure tests on a schedule so you're continually monitoring your site
21
21
.. raw:: html
22
22
23
23
<embed>
24
-
<h2>What happens during a Browser test?</h2>
24
+
<h2>What does a Browser test monitor?</h2>
25
25
</embed>
26
26
27
27
During a Browser test, Splunk Synthetic Monitoring continuously collects performance data including metrics, network data, and custom user timings. All requests and responses that occur in the test are captured in a HAR file, which is represented visually in a waterfall chart that illustrates the latency of specific resources on the page. See :ref:`waterfall-chart` to learn more about the waterfall chart, and see :ref:`browser-metrics` to learn about the metrics in a Browser test.
Copy file name to clipboardExpand all lines: synthetics/set-up-synthetics/set-up-synthetics.rst
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,30 @@ Set up Splunk Synthetic Monitoring
11
11
12
12
Monitor the performance of your web pages and applications by running synthetic Browser, Uptime, and API tests. These tests let you proactively alert the relevant teams when a site or user flow they manage becomes unavailable, as well as report on the performance of a site or user flow over time. Splunk Synthetic Monitoring does not require extensive installation and setup: you can get started by creating your first test directly in the Splunk Synthetic Monitoring user interface.
13
13
14
+
.. _synth-configure-app:
15
+
16
+
Get your site ready to run synthetic tests
17
+
============================================
18
+
19
+
.. meta::
20
+
:description: Information about the settings you need to configure for your application or site in order to receive traffic from Splunk Synthetic Monitoring.
21
+
22
+
There are a couple of settings you might need to add to your application or webpage to receive traffic from Splunk Synthetic Monitoring.
23
+
24
+
25
+
Allow Splunk Synthetic Monitoring IP addresses
26
+
-------------------------------------------------
27
+
28
+
Splunk Synthetic Monitoring runs synthetic tests from a set of dedicated IP addresses. To ensure your internal network or web application firewall (WAF) does not block this traffic, place these IP addresses on your browser or site's allow list.
29
+
30
+
See :ref:`public-locations` for the list of Splunk Synthetic Monitoring IP addresses, and then refer to your internal network's documentation for instructions on how to add them to your allow list.
31
+
32
+
Exclude Splunk Synthetic Monitoring from analytics
If you use a web analytics tool to monitor traffic on your website or application, you might want to exclude Splunk Synthetic Monitoring IP addresses from being counted as traffic.
35
+
36
+
To do so, filter Splunk Synthetic Monitoring IP addresses in the settings of your web analytics tool. See :ref:`public-locations` for the list of IP addresses, and then refers to your analytics tool's documentation for instructions on how to filter them.
@@ -116,12 +140,6 @@ For more examples on Java instrumentation, see :ref:`server-trace-information-ja
116
140
117
141
Integrate with Splunk RUM so that you can automatically measure Web Vital metrics against your run results. Web vitals capture key metrics that affect user experience and assess the overall performance of your site. For more, see :ref:`rum-synth`.
If you use Splunk Synthetic Monitoring to monitor an application or website with allow/block lists or a web analytics tool, you might want to adjust the settings to accommodate traffic from Splunk Synthetic Monitoring. See :ref:`synth-configure-app` for detailed instructions.
There are a number of reasons why your tests might fail like issues with test validation or application unresponsiveness. For example,
13
+
14
+
* API endpoint was unreachable
15
+
* URL was unreachable
16
+
* UI element wasn't found
17
+
* Default wait time of 10 seconds is too short for step assertions to complete. A test might fail because it takes longer than 10 seconds for a website to load.
18
+
19
+
Troubleshoot test validation
20
+
===============================
21
+
22
+
Follow these guidelines to troubleshoot a broken test.
23
+
24
+
#. (Optional) Make a copy of the test so that you can check various solutions before fixing the original test.
25
+
#. Open the test page and see when the test started to fail. Consider the following questions:
26
+
27
+
* When did the check fail? Is there a pattern among other failed runs?
28
+
* Does the check fail consistently on the same step, or intermittently?
29
+
* Is this the first time the check has failed on this step? Did you make a recent change to the test?
30
+
* Was the failure tied to a specific location or across all locations?
31
+
32
+
#. Open the run results view of a failed test, find the step that is failing and go to the link.
33
+
#. Open inspect element.
34
+
#. Duplicate the step and repeat the steps in your test until you find the broken step.
35
+
#. Verify that there is one instance only of the selector you want to use in your test. If the selector appears more than once your test might break again in the future. Unique selectors provide optimal test performance.
:description: Customize tests run in Splunk Synthetic Monitoring by setting up different devices, variables, locations, test status, and other configurations to best simulate diverse types of traffic to your site or application.
9
9
10
10
.. toctree::
11
11
12
-
synth-configure-app
13
12
synth-alerts
14
13
built-in-variables
15
14
global-variables
@@ -110,24 +109,13 @@ Choosing informative names for your tests and alerts helps organize content. Her
110
109
:alt:This image shows two Browser tests with the prefix [ButtercupGames].
Follow these guidelines to troubleshoot a broken test.
112
+
================================
113
+
Troubleshoot broken tests
114
+
================================
117
115
118
-
#. (Optional) Make a copy of the test so that you can check various solutions before fixing the original test.
119
-
#. Open the test page and see when the test started to fail. Consider the following questions:
116
+
See, :ref:`syn-troubleshoot`.
120
117
121
-
* When did the check fail? Is there a pattern among other failed runs?
122
-
* Does the check fail consistently on the same step, or intermittently?
123
-
* Is this the first time the check has failed on this step? Did you make a recent change to the test?
124
-
* Was the failure tied to a specific location or across all locations?
125
118
126
-
#. Open the run results view of a failed test, find the step that is failing and go to the link.
127
-
#. Open inspect element.
128
-
#. Duplicate the step and repeat the steps in your test until you find the broken step.
129
-
#. Verify that there is one instance only of the selector you want to use in your test. If the selector appears more than once your test might break again in the future. Unique selectors provide optimal test performance.
0 commit comments