Skip to content

Commit 03041a7

Browse files
Manuraj-7Ishavyas9
authored andcommitted
kaneai-network-throttling doc
1 parent 97d27da commit 03041a7

File tree

2 files changed

+134
-1
lines changed

2 files changed

+134
-1
lines changed

docs/kaneai-network-throttling.md

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
---
2+
id: kaneai-network-throttling
3+
title: Network Throttling
4+
hide_title: true
5+
sidebar_label: Network Throttling
6+
description: Guide for usage of Network Throttling feature.
7+
keywords:
8+
- network throttling
9+
- network bandwidth
10+
- network setting
11+
url: https://www.lambdatest.com/support/docs/kaneai-network-throttling/
12+
site_name: LambdaTest
13+
slug: kaneai-network-throttling/
14+
---
15+
16+
<script type="application/ld+json"
17+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
18+
"@context": "https://schema.org",
19+
"@type": "BreadcrumbList",
20+
"itemListElement": [{
21+
"@type": "ListItem",
22+
"position": 1,
23+
"name": "LambdaTest",
24+
"item": "https://www.lambdatest.com"
25+
},{
26+
"@type": "ListItem",
27+
"position": 2,
28+
"name": "Support",
29+
"item": "https://www.lambdatest.com/support/docs/"
30+
},{
31+
"@type": "ListItem",
32+
"position": 3,
33+
"name": "Network Throttling",
34+
"item": "https://www.lambdatest.com/support/docs/kaneai-network-throttling/"
35+
}]
36+
})
37+
}}
38+
></script>
39+
40+
# Network Throttling
41+
***
42+
The Network Throttling feature in Kane AI enables users to simulate various network conditions during mobile app testing.
43+
This document outlines how to configure and use network throttling in Kane AI for mobile test creation & execution.
44+
45+
Following are the Network Throttling settings available:
46+
47+
| Throttling Setting | Download Speed | Upload Speed | Latency |
48+
| --------- | ------------ | ----------- | ------------ |
49+
| 2G | ↓ 30 - 50kbps | ↑ 1 - 16 kbps | 500ms |
50+
| 3G | ↓ 100 - 200kbps | ↑ 50 - 64 kbps | 400ms |
51+
| 3G+ | ↓ 3 - 5mbps | ↑ 1 - 2 mbps | 100ms |
52+
| 4G LTE | ↓ 13 - 15mps | ↑ 4 - 7 kbps | 70ms |
53+
| 4G Advanced | ↓ 23 - 25mbps | ↑ 9 - 12 mbps | 20ms |
54+
| Custom | ~ kbps | ~ kbps | ~ ms |
55+
56+
You can create session-specific throttling by selecting the `Custom` option.
57+
58+
## How to Set Up Network Throttling ?
59+
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.
60+
61+
### Selecting Network Setting
62+
- Go to `Advanced Settings` in the `Create App Test` section to add Network Throttling setting in advance.
63+
64+
<img loading="lazy" src={require('../assets/images/kane-ai/throttling_pre_authoring.jpeg').default} alt="throttling-pre-authoring" className="doc_img"/>
65+
66+
You can select desired Network setting & your session will start with that setting.
67+
68+
### Honoring the Network setting
69+
If you want to honor the Network settings in the Authoring session too:
70+
71+
- Click on the `Honor network profile configuration` toggle.
72+
73+
This will apply network setting in the Authoring session too, allowing you to experience how your Application works under that particular Network setting.
74+
75+
:::tip
76+
Recommended to use this setting only if its absolutely necessary, as this will hamper Authoring experience in low Network Bandwidth settings.
77+
:::
78+
79+
<img loading="lazy" src={require('../assets/images/kane-ai/honor_throttling.jpeg').default} alt="honor-throttling" className="doc_img"/>
80+
81+
:::note
82+
Network setting will always be Honored while executing the Test Case & code generation, the Honoring option is applicable for Authoring mode only.
83+
:::
84+
85+
## Changing Network Throttling setting mid session :
86+
To change Network Throttling setting in between the Authoring session:
87+
88+
- Click on the `Change network throttling` present in Actions Tab, or type `/` to access it.
89+
90+
<img loading="lazy" src={require('../assets/images/kane-ai/actions_tab.jpeg').default} alt="actions-tab" className="doc_img"/>
91+
92+
- Then select desired Network setting.
93+
94+
<img loading="lazy" src={require('../assets/images/kane-ai/throttling_mid_authoring.jpeg').default} alt="network-throttling-options" className="doc_img"/>
95+
96+
A change in Network throttling setting is also condidered as a step in the Test Case.
97+
98+
You can edit the Network Throttling setting at that particular step too. To do that:
99+
100+
- `Pause` the execution flow to enter into the **Draft** state.
101+
- Click on the `Edit Instruction` button & change the Network setting.
102+
103+
<img loading="lazy" src={require('../assets/images/kane-ai/edit_throttling_step.jpeg').default} alt="edit-throttling-step" className="doc_img"/>
104+
105+
## Changing network throttling in Edit Test Steps mode
106+
Before you begin editing a test case , you can set up network throttling. This Edit mode specific setting will overwrite the network configuration previously established during the app session's initialization in Authoring mode.
107+
108+
:::note
109+
The network throttling for your Editing session is determined by what you set when you start that session. If you don't specify any network settings for the Edit mode, no throttling will be applied. The network settings mentioned while initializing the Authoring session will not be applicable in the Edit session, as saving changes in the Edit mode creates a new test case version.
110+
111+
And all Test Case executions, like Test Runs and code generation, are performed on the test case's latest saved version.
112+
:::
113+
114+
<img loading="lazy" src={require('../assets/images/kane-ai/throttling_pre_playground.jpeg').default} alt="playground-throttling-setting" className="doc_img"/>
115+
116+
## Network Throttling in Test Runs
117+
While executing your Test Cases every Network Throttle step will be honoered. In addition to the Authoring & Editing mode, you can also select the Network setting to initialize your session with :
118+
119+
- Click on `Advanced Configurations` present in the `Run with HyperExecute` section or `Schedule Test Runs` section while executing a Test Run.
120+
121+
<img loading="lazy" src={require('../assets/images/kane-ai/advanced_configurations_pre_execution.png').default} alt="advanced-configurations-pre-execution" className="doc_img"/>
122+
123+
- Network Throttling setting is available in the `Network Settings` section.
124+
125+
<img loading="lazy" src={require('../assets/images/kane-ai/throttling_in_network_settings.png').default} alt="throttling-in-network-settings" className="doc_img"/>
126+
127+
- You can view where & when Network Throttling commands are executed in the command logs present in the App Automation page.
128+
129+
<img loading="lazy" src={require('../assets/images/kane-ai/throttling_command_script.jpeg').default} alt="throttling-command-script" className="doc_img"/>
130+
131+
:::note
132+
Offline Mode is not supported yet but it will be added in future release.
133+
:::

sidebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ module.exports = {
12941294
"kane-ai-jira-integration",
12951295
"kane-ai-api-testing",
12961296
"kane-ai-network-assertions",
1297-
// "kaneai-network-throttling",
1297+
"kaneai-network-throttling",
12981298
"kane-ai-modules",
12991299
"kaneai-modules-versions-and-enhancement",
13001300
"kaneai-upload-and-download-files",

0 commit comments

Comments
 (0)