> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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)](https://docs.xbox.com/tools/tools-console/commandlinetools/xbstress.md) 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](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-setup-xbox-developer-kit.md).

* 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)](https://docs.xbox.com/tools/tools-console/commandlinetools/xbstress.md)


## Related topics

- [Game streaming latency compensation overview](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-latency-compensation-overview.md)
- [Game streaming latency measurement](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-latency-measurement.md)
- [Game streaming latency compensation deep dive](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-latency-compensation-deep-dive.md)
- [Game streaming test prerequisites](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-stream-your-game.md)
- [XBOX Cloud Gaming touch and streaming support](https://docs.xbox.com/build/core-features/common/game-streaming/index.md)
