For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Test an HSS

You can use TPLoad to perform benchmark testing for a Home Subscriber Server (HSS). In this use case, TPLoad Core simulates the MME side of the S6a Diameter interface. Since HSS benchmarking requires only the TPLoad Core component and generates no user plane traffic, the traffic-related sections can be omitted.

For each session creation, TPLoad sends an Authentication-Information-Request (AIR) followed by an Update-Location-Request (ULR). For each session deletion, TPLoad sends a Purge-UE-Request (PUR). The Diameter connection is established over TCP or SCTP, depending on the servers.hss.diameter.network parameter, with TPLoad acting as the connection initiator.

A clustered HSS can be tested from a single TPLoad instance by listing its nodes in servers.hss.diameter.remote_addresses. TPLoad then connects to each node and distributes the requests over all of them round-robin. See Control Plane configuration.

For this use case, the corresponding HSS setup has the following configuration:

TPLoad has the following addresses:

Prerequisites

The subscribers must be provisioned on the HSS before the test starts. TPLoad takes the subscriber identities from the device_generator.imsi range, so every IMSI from that range must exist on the HSS. Otherwise, the corresponding requests fail with the DIAMETER_ERROR_USER_UNKNOWN error, and the affected sessions are not created.

TPLoad configuration steps

Follow these steps to configure TPLoad Core to perform benchmark testing for an HSS:

  1. Configure the core and servers sections. In this use case, set session_management to hss. In servers, configure the hss instance with the Diameter identities matching the HSS routing configuration.
yaml
  1. Set the IMSI range for device_generator. The range must match the subscribers provisioned on the HSS:
yaml
  1. Use the RampUp, StabilityLoop, and SteadyLoop testing functions for the purpose of this test case:
yaml
  1. After applying the configuration, TPLoad connects to the HSS and performs the Diameter capabilities exchange. The test can start once the connection is established.

For the full list of the configuration parameters, see Control Plane configuration.