> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spurtest.com/llms.txt
> Use this file to discover all available pages before exploring further.

> Change your browser's locale, network speed and HTTPS credentials to test your application under different conditions. 

# Advanced Configurations

## What are Advanced Configurations?

Advanced Configurations provide powerful capabilities for testing scenarios including A/B testing, header modifications and internal logic validation.

Configure these settings in Test Editing Side Peek and customize the test execution environment with browser settings, network conditions and HTTP request modifications.

<Frame caption="Overview of Advanced Configurations">
  <img src="https://mintcdn.com/spur/-kGswOS1KFY-omef/images/Screenshot2026-02-13at2.29.46PM.png?fit=max&auto=format&n=-kGswOS1KFY-omef&q=85&s=72d8c2813a25fd8b030f9ba13624b79d" alt="Screenshot 2026 02 13 At 2 29 46 PM" width="1104" height="1090" data-path="images/Screenshot2026-02-13at2.29.46PM.png" />
</Frame>

## Configuration Options

### Locale

Set browser language and region to test internationalization. Use for testing multi-language support, region-specific content, or currency formatting.

<Frame>
  <img src="https://mintcdn.com/spur/H3xqe3VyV7YeO-e5/images/Screenshot2026-02-04at8.13.28PM.png?fit=max&auto=format&n=H3xqe3VyV7YeO-e5&q=85&s=c23ca11449c3036ed4f3d966fd40ee36" alt="Screenshot 2026 02 04 At 8 13 28 PM" width="1072" height="78" data-path="images/Screenshot2026-02-04at8.13.28PM.png" />
</Frame>

**Use cases:**

* Testing multi-language product descriptions
* Validating currency formatting (USD, EUR, JPY)
* Testing region-specific content

### Network Throttling

Simulate different network conditions including packet loss. Use for testing performance on slower connections and validating loading states.

<Columns cols={2}>
  <Card title="Available options:">
    * None (default)
    * Fast 4G
    * Slow 4G
    * 3G
    * Offline
    * Custom
  </Card>

  <Card title="Packet Loss options:">
    * None - 0% (default)
    * Low - 2%
    * High - 5%
    * Extreme - 10%
  </Card>
</Columns>

<Frame>
  <img src="https://mintcdn.com/spur/H3xqe3VyV7YeO-e5/images/Screenshot2026-02-04at8.14.30PM.png?fit=max&auto=format&n=H3xqe3VyV7YeO-e5&q=85&s=4ae120cccd829904bf621731f5f8bb70" alt="Screenshot 2026 02 04 At 8 14 30 PM" width="1074" height="168" data-path="images/Screenshot2026-02-04at8.14.30PM.png" />
</Frame>

**Use cases:**

* Testing application behavior on mobile networks
* Validating loading states and timeouts

### Headers

Add custom HTTP headers to requests. Default headers from your environment appear first, followed by any additional headers you add.

<Frame>
  <img src="https://mintcdn.com/spur/H3xqe3VyV7YeO-e5/images/Screenshot2026-02-05at12.48.52PM.png?fit=max&auto=format&n=H3xqe3VyV7YeO-e5&q=85&s=2a5fd8c0951b0a01f240b6ffbbda8cba" alt="Screenshot 2026 02 05 At 12 48 52 PM" width="1066" height="144" data-path="images/Screenshot2026-02-05at12.48.52PM.png" />
</Frame>

**Use cases:**

* Adding authentication tokens
* Setting custom API headers
* A/B testing with custom headers

### Mock Network Call

Configure route overrides to intercept and modify network requests during test execution, enabling you to mock API responses, redirect requests or inject test data.

<Frame>
  <img src="https://mintcdn.com/spur/H3xqe3VyV7YeO-e5/images/Screenshot2026-02-05at12.51.16PM.png?fit=max&auto=format&n=H3xqe3VyV7YeO-e5&q=85&s=c83bcc11bd397e26fdb4e6b4a2dbf194" alt="Screenshot 2026 02 05 At 12 51 16 PM" width="1068" height="118" data-path="images/Screenshot2026-02-05at12.51.16PM.png" />
</Frame>

**Use cases:**

* **Mock API endpoints to control test conditions:** Override backend responses to ensure consistent test behavior. For example, mock a checkout endpoint to return a successful order confirmation, allowing you to test post-purchase flows without processing real transactions.

  <Frame>
    <img src="https://mintcdn.com/spur/RaeB6Oz5SVRJ2dhu/images/hellofresh-mock.png?fit=max&auto=format&n=RaeB6Oz5SVRJ2dhu&q=85&s=b5fedaf9fd43c7ffcaa7e45eba9dcf7d" alt="Hellofresh Mock" width="1452" height="640" data-path="images/hellofresh-mock.png" />
  </Frame>

### HTTPS Credentials

Configure HTTP basic authentication credentials for tests that require authentication. Default HTTPS credentials from your selected environment are shown first. Only one credential can be selected per test.

<Frame>
  <img src="https://mintcdn.com/spur/H3xqe3VyV7YeO-e5/images/Screenshot2026-02-05at12.52.45PM.png?fit=max&auto=format&n=H3xqe3VyV7YeO-e5&q=85&s=037d733ea0e7f344406364483c34e770" alt="Screenshot 2026 02 05 At 12 52 45 PM" width="1064" height="166" data-path="images/Screenshot2026-02-05at12.52.45PM.png" />
</Frame>

**Use Cases:**

* **Testing password-protected staging environments:** Authenticate automatically to staging sites that require HTTP basic auth before the Spur Agent begins test execution

  <Frame>
    <img src="https://mintcdn.com/spur/-kGswOS1KFY-omef/images/Screenshot2026-02-12at2.03.23PM.png?fit=max&auto=format&n=-kGswOS1KFY-omef&q=85&s=462daaa3ae8a1029fd8577bc2b91f7bf" alt="Screenshot 2026 02 12 At 2 03 23 PM" width="896" height="710" data-path="images/Screenshot2026-02-12at2.03.23PM.png" />
  </Frame>
* **Accessing internal development servers:** Bypass authentication prompts on internal servers during automated testing without exposing credentials in test scripts.
* **Validating authentication flows:** Test that proper authentication is required and that invalid credentials are rejected as expected.
