---
title: PDP Activation
description: "Activate a PDP context, the cellular data session, and measure how long the network takes to assign an IP. The data equivalent of getting online."
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

Activate a PDP context (the cellular data session) and verify the network assigns an IP configuration. This is the data equivalent of "can this SIM get online", and the activation time itself is a key network quality indicator.

## Parameters

| Parameter | Required | Description |
| ----------- | ---------- | ------------- |
| Access technology | No | Network technology to use. Default: automatic. |
| Use default APN credentials | No | Use the APN configured for the SIM. Default: on. |
| APN Name, Login, Password | When default APN is off | Custom APN credentials. |
| Keep pdp context | No | Leave the data session open for the following actions. Default: off. |
| Check internet connection before running action | No | Verify connectivity first. Default: on. |
| PDP Activation should fail | No | Invert the verdict, for SIMs that must not have data access. |

## Results and metrics

In the action report (`result`):

| Field | Description |
|-------|-------------|
| `duration` | Time to activate the data session, in seconds. |
| `ip_address`, `mask`, `ip_gateway` | The IP configuration assigned by the network. |
| `ip_dns1`, `ip_dns2` | The DNS servers assigned. |
| `apn` | The APN used. |

In Analytics, each run feeds the PDP activation measurement with `duration_seconds`, tagged by status, APN, antenna (MCC, MNC, LAC, cell ID), and access technology.

## What's next?

<Columns cols={2}>
  <Card title="Ping" icon="arrow-right-arrow-left" href="/tests/actions/cellular/ping">

    Measure latency once the session is up

</Card>
  <Card title="Ookla Speedtest" icon="gauge-high" href="/tests/actions/cellular/speedtest">

    Measure the full bandwidth of the connection

</Card>
</Columns>
