Skip to main content

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 SettingDownload SpeedUpload SpeedLatency
2G↓ 30 - 50kbps↑ 1 - 16 kbps500ms
3G↓ 100 - 200kbps↑ 50 - 64 kbps400ms
3G+↓ 3 - 5mbps↑ 1 - 2 mbps100ms
4G LTE↓ 13 - 15mps↑ 4 - 7 kbps70ms
4G Advanced↓ 23 - 25mbps↑ 9 - 12 mbps20ms
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.

Selecting Network Setting

  • Go to Advanced Settings in the Create App Test section to add Network Throttling setting in advance.
throttling-pre-authoring

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

Honoring the Network setting

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

  • 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.

tip

Recommended to use this setting only if its absolutely necessary, as this will hamper Authoring experience in low Network Bandwidth settings.

honor-throttling
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, or type / to access it.
actions-tab
  • Then select desired Network setting.
network-throttling-options

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.
edit-throttling-step

Changing network throttling in Edit Test Steps mode

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.

note

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.

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

playground-throttling-setting

Network Throttling in Test Runs

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 :

  • Click on Advanced Configurations present in the Run with HyperExecute section or Schedule Test Runs section while executing a Test Run.
advanced-configurations-pre-execution
  • Network Throttling setting is available in the Network Settings section.
throttling-in-network-settings
  • You can view where & when Network Throttling commands are executed in the command logs present in the App Automation page.
throttling-command-script
note

Offline Mode is not supported yet but it will be added in future release.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles