--- title: "Setting up a UDC test connection" slug: "setting-up-a-udc-test-connection" updated: 2026-05-06T05:59:24Z published: 2026-05-06T05:59:24Z canonical: "docs.grassfish.com/setting-up-a-udc-test-connection" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.grassfish.com/llms.txt > Use this file to discover all available pages before exploring further. # Setting up a UDC test connection In order to test the different web services (server and client) and to improve the stability of the spot via local data, it is possible to set up test connections. The corresponding parameters must be defined correctly and in part, have a limited validity. Note To secure a correct operation of the spot, the spot developer must ensure that the spot - is tested against all web services (server and client) - is transferred to all corresponding player types and the playback is tested (players have different web engines and therefore exhibit differing behavior). The test connection is set up via the setLocalTestData function (see setLocalTestData). Below, the determination of the parameters as well as the creation of a local data file under the use of the browser developer tools is explained. ## Using developer tools The required values can be read out via the developer tools of the browser. Note We recommend Google Chrome. However, it's possible to use other browsers. It is recommended, to permanently deactivate the browser cache and to filter the display of the requests as specified in the following image: ![](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a- ## Testing of web services ### Parameters for the server web service Note In order to allow for all required parameters to be read out, a corresponding spot with a UDC data source must be available in IXM One. 1. IXM One: Log in and open the **Edit spot properties** window of the spot which should be tested under **Content > Playlist> Selectable spots >** ![C:\Users\andreasm\AppData\Local\Microsoft\Windows\INetCache\Content.Word\eigenschaften-bearbeiten.png](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-rt3fwkn4.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) in the tile view of the spot. ![A screenshot of a computer Description automatically generated with low confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-2hdzgfs0.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 2. Developer tools: Open the developer tools of the browser via the keyboard shortcut CTRL+SHIFT+I (for Windows operating systems only). 3. Developer tools: Switch to the **Network** tab. 4. Developer tools: Delete existing requests by clicking on the icon as illustrated in the image below. ![A screenshot of a video call Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-n9x28qq1.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 5. IXM One: In the **Edit spot properties** window select the **Data sources** tab. ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-68sjt53g.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 6. Developer tools: Click on the displayed number (Id), in order to display the corresponding details on the right. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-b9je3gja.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 7. Developer tools: In the pane **Details** switch to the **Headers** tab. 8. Developer tools: Select the request URL shown including „api/” and copy the highlighted value to the clipboard with CRTL+C. ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-rgzyoimc.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 9. Code: Replace the value of DebugServer.url with the value saved to the clipboard. ##### locationId 1. IXM One: Open the **Edit player** window of the player which should be tested under **Channels > Location > [Name of the location] > Edit player**. 2. Developer tools: Open the developer tools via the keyboard shortcut CRTL+SHIFT+I, switch to the **Network** tab and delete the existing requests. 3. IXM One: Click on the **Data sources** tab. ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-y0xzu4r4.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 4. Developer tools: Identify the displayed value (Id). **![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-3wtllv2m.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D)** 5. Code: Use the value for DebugServer.locationId (see DebugServer). ##### spotId 1. IXM One: Open the spot properties. 2. Developer tools: Open the developer tools via the keyboard shortcut CRTL+SHIFT+I, switch to the **Network** tab and delete the existing requests. 3. IXM One: In the **Edit spot properties** window click on the **Data sources** tab. ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-yic6wv5d.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 4. Developer tools: Identify the displayed value (Id). ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-7ijviufb.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 5. Code: Use the above value for DebugServer.spotId (see DebugServer). ##### sessionId 1. IXM One: Open IXM One or if there is already one instance of IXM One running, close the current session via the log out icon in the top right. The login window is shown. 2. Developer tools: Open the developer tools of the browser. 3. Developer tools: Switch to the **Console**. 4. Developer tools: Delete the existing values (see image): ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-2hw0sbx1.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 5. IXM One: Log in to IXM One. 6. Developer tools: Highlight the session key and copy it to the clipboard. ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-ayggcaca.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 7. Code: Replace the value of DebugServer.sessionId with the value copied to the clipboard. Note The value for DebugServer.sessionId is only valid for the current session. For this reason, the window should be not closed during testing. The value must be renewed for every additional login as well as the above described process must be repeated. ### Parameters for the client web service Note In order to allow for all required parameters to be read out, a corresponding spot with a UDC data source must be available in IXM One. It must be also be available in a playlist which has been transferred to a player. ##### Ip 1. Player: Identify the IP address by pressing the F8 key. 2. Code: Use the displayed value for DebugClient.ip. ##### siid 1. IXM One: Log in and open the **Edit display properties** window of the spot instance which should be tested under **Content > Playlist > General playlists > [Name of the playlist] Playlist content >** ![C:\Users\andreasm\AppData\Local\Microsoft\Windows\INetCache\Content.Word\eigenschaften-bearbeiten.png](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-i3kbf5js.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) in the tile view of the spot. ![A screenshot of a computer Description automatically generated with low confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-z9nyub0k.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 2. Developer tools: Open the developer tools of the browser via the keyboard shortcut CRTL+SHIFT+I (for Windows operating systems only). 3. Developer tools: Switch to the **Network** tab. 4. Developer tools: Delete the existing request by clicking on the icon as shown in the image below. **![A screenshot of a video call Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-3tfdnr6b.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D)** 5. IXM One: In the **Edit display properties** window click on the **Data sources** tab. ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-e913ry2o.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 6. Developer tools: Identify the displayed value (Id). ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-fwwy6u9v.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 7. Code: Use the above value for DebugClient.siid. ### Creating local test data In order to test the spot against local data, establish an initial test connection to the web services, optionally via server or client. For this, the corresponding data sources are accessed. Following this, complete the steps below: 1. Browser: Open the spot in the browser via the ascInterface. 2. Developer tools: Open the developer tools via the keyboard shortcut CRTL+SHIFT+I. 3. Developer tools: Switch to the **Network** tab. 4. Developer tools: Identify the UDC request: - It starts with a distinct description (e.g. "News"). - If there are two entries available, select the entry with the larger file size (it contains the data). ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-7kak4oge.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 5. Developer tools: Click on the request in order to show the **Details** pane on the right. 6. Developer tools: Switch to the **Response** tab and copy its entire content to the clipboard. ![A screenshot of a computer Description automatically generated with medium confidence](https://cdn.document360.io/e2b87f73-d9f5-43cb-8182-2641762664fd/Images/Documentation/setting-up-a-udc-test-connection-image-xv8xilj0.png?sv=2026-02-06&spr=https&st=2026-11-06T20%3A17%3A52Z&se=2026-11-06T21%3A17%3A52Z&sr=c&sp=r&sig=shTAopcABl3OMk1l4K8gOsOdMA9QRHuO0eGyPMbhtg8%3D) 7. Code: Create a new JSON file in the spot project (e.g. udc.json). 8. Code: Insert the content of the clipboard in the previously created file and save it. ### Linking local test data The JSON file created with local test data in the spot project can now be used as follows: ```xml var udc = new GFUdcConnector(); var connection = {   url: "./udc.json"}; udc.setLocalTestData(connection); // fetch some data... ``` Using local test data allows for a simple and convenient way to develop the spot against a static server and client solution. Further, it is possible to quickly modify the data and simulate various scenarios.