--- title: "How to create AKAMAI CDN Mapping Dashboard" slug: "how-to-create-akamai-cdn-mapping-dashboard" updated: 2026-06-24T17:00:58Z published: 2026-06-24T17:00:58Z canonical: "docs.catchpoint.com/how-to-create-akamai-cdn-mapping-dashboard" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.catchpoint.com/llms.txt > Use this file to discover all available pages before exploring further. # How to create AKAMAI CDN Mapping Dashboard #### Overview The Akamai CDN Mapping dashboard is designed to provide insights into the performance and distribution of content delivery networks (CDNs). This guide will walk you through the steps to create insights, custom visualizations, favorite charts, and Playwright tests for the Akamai CDN Mapping dashboard. #### Step 1: Create Insights 1. **Create Insights**: Begin by creating **tracepoint** for the Akamai CDN Mapping dashboard. Name = **CDN Edge** and **Test City** Token = **city** and **node** Format = **city** and **HTTP_QUERY** ![image.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/image%28373%29.png) **Indicator** Name = **Requests [Mapping]** and **Wait [Mapping]** Token = **numreq** and **wait** Format = **&numReq=(\d+)** and **&wait=(\d+)** Content Type = **Number** ![image.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/image%28292%29.png) #### Step 2: Create Custom Visualization - Navigate to **Synthetic > Custom Visualization > New** ![Image](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/Screenshot%202026-06-24%20at%2011.42.24%E2%80%AFAM.png) 1. **Add Scripts**: Add the following scripts to the script field: ``` ``` ``` ``` ### Step 3: Create the Test unless the Test already exists - HTTP Test for the targeted CDN request/asset. ![image.png](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/image%28368%29.png) #### Step 4: Create Favorite Chart 1. **Create Favorite Chart**: Create a favorite chart for the test you want to have the mapping dashboard created. - **Visualization**: Histogram - **Dimension**: Test - **Column**: City - **Breakdown**: IP - **Metrics**: Wait and #Runs ![Image](https://cdn.document360.io/cb4af8f9-6751-4fd2-b39c-07aae832badb/Images/Documentation/Untitled.png) #### Step 5: Create Playwright Test 1. **Create Playwright Test**: Create a Playwright test with the below script – replace favorite chart ID and the API key. ``` const __translatedScript = async () => { // allow script to be at top for easy edits await Catchpoint.startStep(`1. Access Token Generation`); /*** Step 1 ***/ // Step - 1 var __url = `http://edc.edgesuite.net/`; var __response = await page.goto(__url); var __result = Catchpoint$.runScript( `var xhr = new XMLHttpRequest();xhr.open("POST", 'https://io.catchpoint.com/ui/api/token'); xhr.setRequestHeader("Accept", "*/*"); xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); xhr.send("grant_type=client_credentials&client_id=Rn-s-jXLAuHCGCd&client_secret=150e1cd0-f6b6-401a-8e54-95a18926a6d1");` ); await new Promise(resolve => setTimeout(resolve, Number(3000))); /* pause */ // Step - 2 await Catchpoint.startStep(`2. City Mapping`); /*** Step 2 ***/ await Catchpoint$.andWait(async _ => { var __result = Catchpoint$.runScript( `var json = JSON.parse(xhr.response);xhr.open("GET", 'https://io.catchpoint.com/api/v3.4/tests/explorer/favoritechart/data/55314'); xhr.setRequestHeader("Accept", "*/*"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_WITH_API_KEY"); xhr.send();` ); }); await new Promise(resolve => setTimeout(resolve, Number(2000))); /* pause */ var __result = Catchpoint$.runScript( `var iMap = JSON.parse(xhr.response).data.favoriteCharts[0].summary;var xhr = new XMLHttpRequest();xhr.open("GET", 'http://edc.edgesuite.net/'); xhr.send();for(i=0; i