This is a simple standalone tester for 5G UE NAS signaling and NGAP messages. It connects to the AMF to perform NGAP and NAS encoding/decoding and validates the UE Registration and PDU Session Establishment processes without the overhead of a full Radio Access Network (PHY/MAC/RLC).
[[_TOC_]]
# Motivation
- This tester is a lightweight, deterministic tool to **test the UE NAS layer directly**.
- Developers can easily inject specific NAS messages depending on the use-case.
- Developers can validate custom NAS/NGAP messages without the need to implement complete RRC/MAC etc procedures.
# Overview
From a schematic point of view, the tester and Core Network interaction looks like this:
```
+-------+
| AMF |
+-------+
|
NGAP/NAS | (N1/N2)
|
+-------+
|tester | (nr-ue-nas-simulator-test)
+-------+
```
The tester is designed to validate the integration of NAS and NGAP messages required for a 5G Standalone (SA) UE to attach to the network. It acts as a simulated gNB and a UE, bridging NAS messages directly into NGAP payloads and connecting to the 5G Core Network's AMF.
The following messages are integrated and tested:
***NGAP:** NG Setup Request/Response, Initial UE Message, Downlink NAS Transport, Uplink NAS Transport, Initial Context Setup Request/Response, PDU Session Resource Setup Request/Response, UE Context Release Command/Complete.