This is a sample application for load testing connections to APNS Sandbox servers with a given set of credentials. This allows you to specify a number of values hit against APNS in order to determine optimal HTTP/2 settings.
To run this application, you can specify the following items as arguments such as the following or modify the code directly:
- Pooled Connetion Lifetime - Default Value: 10 seconds
- Max Connections Per Server - Default Value: 10,000
- Degrees of Parallelism - Default Value: 50
- Test Duration - Default Value: 1 minute
In order to connect to APNS, you need to specify the following information in the Credentials.cs
:
AppId
: The Apple App IDAppName
: The Apple App name egcom.microsoft.exampleapp
KeyId
: The Key ID of the Push TokenToken
: The token string from the .p8 file
MIT