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

# Simulating latency while testing your game

> Simulating latency while testing your game

The [xbstress tool (NDA topic)](/tools/tools-console/commandlinetools/xbstress) makes it easy for you to simulate different network conditions for your users by adding additional latency.

## Prerequisites

* An XBOX Development Kit, connected to the internet,  that has been [set up for streaming](/build/core-features/common/game-streaming/game-streaming-setup-xbox-developer-kit).

* A mobile device (Android 6.0 or later) that can connect to your XBOX Development Kit.

* A development PC with the XBOX development tools installed on it that can connect to your XBOX Development Kit.

## Simulating latency

The following code example demonstrates the command to use to start applying average latency of XBOX Game Streaming users.

```shell theme={null}
XBSTRESS simulate network=gamestreaming-avg
```

The following code example demonstrates how to stop applying additional latency.

```shell theme={null}
XBSTRESS stop
```

## See also

[Stress (xbstress.exe) (NDA topic)](/tools/tools-console/commandlinetools/xbstress)


## Related topics

- [Game streaming latency measurement](/build/core-features/common/game-streaming/game-streaming-latency-measurement.md)
- [Game streaming latency compensation overview](/build/core-features/common/game-streaming/game-streaming-latency-compensation-overview.md)
- [Streaming your game](/build/core-features/common/game-streaming/game-streaming-stream-your-game.md)
- [Game streaming latency compensation deep dive](/build/core-features/common/game-streaming/game-streaming-latency-compensation-deep-dive.md)
- [XBOX Cloud Gaming touch and streaming support](/build/core-features/common/game-streaming/index.md)
