Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/images/kane-ai/actions_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/edit_throttling_step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/honor_throttling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 125 additions & 0 deletions docs/kaneai-network-throttling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
---
id: kaneai-network-throttling
title: Network Throttling
hide_title: true
sidebar_label: Network Throttling
description: Guide for usage of Network Throttling feature.
keywords:
- network throttling
- network bandwidth
- network setting
url: https://www.lambdatest.com/support/docs/kaneai-network-throttling/
site_name: LambdaTest
slug: kaneai-network-throttling/
---

<script type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "LambdaTest",
"item": "https://www.lambdatest.com"
},{
"@type": "ListItem",
"position": 2,
"name": "Support",
"item": "https://www.lambdatest.com/support/docs/"
},{
"@type": "ListItem",
"position": 3,
"name": "Network Throttling",
"item": "https://www.lambdatest.com/support/docs/kaneai-network-throttling/"
}]
})
}}
></script>

# Network Throttling
***
The Network Throttling feature in Kane AI enables users to simulate various network conditions during mobile app testing.
This document outlines how to configure and use network throttling in Kane AI for mobile test creation & execution.

Following are the Network Throttling settings available:

| Throttling Setting | Download Speed | Upload Speed | Latency |
| --------- | ------------ | ----------- | ------------ |
| 2G | ↓ 30 - 50kbps | ↑ 1 - 16 kbps | 500ms |
| 3G | ↓ 100 - 200kbps | ↑ 50 - 64 kbps | 400ms |
| 3G+ | ↓ 3 - 5mbps | ↑ 1 - 2 mbps | 100ms |
| 4G LTE | ↓ 13 - 15mps | ↑ 4 - 7 kbps | 70ms |
| 4G Advanced | ↓ 23 - 25mbps | ↑ 9 - 12 mbps | 20ms |
| Custom | ~ kbps | ~ kbps | ~ ms |

You can create session-specific throttling by selecting the `Custom` option.

## How to Set Up Network Throttling ?
For your mobile app test session, network throttling can be set up in advance by applying those settings from the start of the Authoring session, or you can modify them at any point during the session.

### Step 1: Selecting Network Setting
- Go to `Advances Settings` in the `Create App Test` section to add Network Throttling setting in advance.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Advances -> SPelling mistake @Manuraj-7


<img loading="lazy" src={require('../assets/images/kane-ai/throttling_pre_authoring.png').default} alt="throttling-pre-authoring" className="doc_img"/>

You can select desired Network setting & your session will start with that setting.

### Step 2: Honoring the Network setting
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honoring is not a different step, but a part of step 1 itself @Manuraj-7

If you want to honor the Network settings in the Authoring session too:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add recommendation to avoid using it as it might hamper the authoring process due to low network bandwidth @Manuraj-7


- Click on the `Honor network profile configuration` toggle.

This will apply network setting in the Authoring session too, allowing you to experience how your Application works under that particular Network setting.

<img loading="lazy" src={require('../assets/images/kane-ai/honor_throttling.png').default} alt="honor-throttling" className="doc_img"/>

:::note
Network setting will always be Honored while executing the Test Case & code generation, the Honoring option is applicable for Authoring mode only.
:::

## Changing Network Throttling setting mid session :
To change Network Throttling setting in between the Authoring session:

- Click on the `Change network throttling` present in Actions Tab.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention slash command as well here @Manuraj-7


<img loading="lazy" src={require('../assets/images/kane-ai/actions_tab.png').default} alt="actions-tab" className="doc_img"/>

- Then select desired Network setting.

<img loading="lazy" src={require('../assets/images/kane-ai/throttling_mid_authoring.png').default} alt="network-throttling-options" className="doc_img"/>

A change in Network throttling setting is also condidered as a step in the Test Case.

You can edit the Network Throttling setting at that particular step too. To do that:

- `Pause` the execution flow to enter into the **Draft** state.
- Click on the `Edit Instruction` button & change the Network setting.

<img loading="lazy" src={require('../assets/images/kane-ai/edit_throttling_step.png').default} alt="edit-throttling-step" className="doc_img"/>

## Changing network throttling in Playground
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Playground is an internal name. Mention Edit Test steps

Before you begin editing a test case in the Playground, you can set up network throttling. This Playground-specific setting will overwrite the network configuration previously established during the app session's initialization in Authoring mode.

:::note
The network throttling for your Playground session is determined by what you set when you start that session. If you don't specify any network settings for the Playground, no throttling will be applied. The network settings mentioned while initializing the Authoring session will not be applicable in the Playground session, as saving changes in the Playground creates a new test case version.

And all Test Case executions, like Test Runs and code generation, are performed on the test case's latest saved version.
:::

<img loading="lazy" src={require('../assets/images/kane-ai/throttling_pre_playground.png').default} alt="playground-throttling-setting" className="doc_img"/>

## Network Throttling in Test Runs
While executing your Test Cases every Network Throttle step will be honoered. Similar to the Authoring & Playground mode, you can select the Network setting to initialize your session with :
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not similar, but in addition to authoring and editing


- Click on `Advanced Configurations` in the `Run with HyperExecute` section, present while executing a Test Run.

<img loading="lazy" src={require('../assets/images/kane-ai/advanced_configurations_pre_execution.png').default} alt="advanced-configurations-pre-execution" className="doc_img"/>

- Network Throttling setting is available in the `Network Settings` section.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is network throttling not added in the API for test runs? @Manuraj-7 , if not, then we should add it as part of backlog

Copy link
Contributor Author

@Manuraj-7 Manuraj-7 May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Private1647 If its the API to trigger Test Runs is HypEx. Then its not added.


<img loading="lazy" src={require('../assets/images/kane-ai/throttling_in_network_settings.png').default} alt="throttling-in-network-settings" className="doc_img"/>

- You can view where & when Network Throttling commands are executed in the command logs present in the App Automation page.

<img loading="lazy" src={require('../assets/images/kane-ai/throttling_command_script.png').default} alt="throttling-command-script" className="doc_img"/>
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ module.exports = {
"kane-ai-scroll-in-feature",
"kane-ai-jira-integration",
"kane-ai-api-testing",
"kaneai-network-throttling",
{
type: "category",
collapsed: true,
Expand Down
Loading