Test data¶
Use these videos to test each case of your integration with the test partner ID. MEGOGO does not have a separate test environment: the test partner ID and test keys work on the production servers, with the real catalog.
Find test videos for your key¶
The catalog, the rights and the key settings are different for each partner and region. A video that plays for one key can be not available for another key. Find your test videos this way:
- Take objects from your XML feed with the delivery rule that you want to
test (
<distribution vod_type="...">). - Send
/video/infowith the ID and theaccess_tokenof a test user. - Use the video if
is_availableistrue(or ifdelivery_rulesandpurchase_infoshow the offer that you want to test). If the video is not available,restrictionstells why.
Example videos (region ua)¶
These videos were checked with the test partner testprod_ua on
2026-10-31. Rights change: if a video is not available any more, find
another one as described above.
| Case | Video ID | Title | Result for a test user with the subscription |
|---|---|---|---|
| Subscription (SVOD), HLS without DRM | 6680 | King of California | Available, stream_type: hls, drm_type: "" |
| Subscription (SVOD) with DRM | 8035 | Inland Empire | Available, stream_type: dash, drm_type: modular (Widevine) |
| 4K version (UHD) | 28005286 | No Escape UHD | Available with the 4K setting of the key, is_uhd: true |
| AdVOD film | 253 | Law Abiding Citizen | Available without a subscription |
| AdVOD series | 25588336 | Youth of May | Available; episode 26056856 plays |
| Trailer | 23682596 | Trailer of 8035 | Plays without access_token (delivery_rules: fvod) |
| Rent (TVOD) and purchase (DTO) | 26480286 | The Amateur | Not available until the user buys it. purchase_info has TVOD (HD and SD, 2 days) and DTO offers |
| Not available in the country | 3858251 | Ghost | restrictions: NO_VOD_COUNTRY |
Test users¶
- Use a new user identifier for each test run, for example
test-2026-10-31-01. MEGOGO creates the user with the first Billing API request. - Do not use the identifiers of real users for tests.
- After the test, send
unsubscribefor each test subscription. - The Billing API has no request to cancel a purchase (
buyMovie). Buy only the SD tariffs for tests, and agree the test plan with your MEGOGO manager.
Test credentials¶
| Item | Where to get it |
|---|---|
| Test partner ID, test keys, salt | Your MEGOGO manager. See Credentials |
| Service ID of the test subscription | Your MEGOGO manager |
| Test XML feed | https://xml.megogo.net/assets/files/{region}/{partner_number}/all_mgg.xml. See XML feed |
The tutorial Play your first video uses this data.
Guide version 1.4.1, 2026-10-31 · Report a problem on this page