{"ref":"content:using-the-ui5-mockserver-for-client-specific-data-and-testing","page":"/content/using-the-ui5-mockserver-for-client-specific-data-and-testing","json":"/content/using-the-ui5-mockserver-for-client-specific-data-and-testing.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"using-the-ui5-mockserver-for-client-specific-data-and-testing","title":"Using the UI5 Mockserver for Client-Specific Data and Testing","url":"https://community.sap.com/t5/technology-blog-posts-by-members/using-the-ui5-mockserver-for-client-specific-data-and-testing/ba-p/13939040","content_type":"blog","published_on":"source:sap-community","explains":["capability:seed-data","capability:ui5-testing"],"summary":"Walks through a same-day feature in `@sap-ux/ui5-middleware-fe-mockserver`, 'Support autoloading mockdata file for specific tenants', which loads a `<Entity>-<client>.json` file keyed to the `sap-client` URL parameter and falls back to the entity's plain JSON file when no client-specific one exists. Shows the setup replacing generated mock data with hand-written JSON, then drives the same `sap-client` parameter through separate package.json scripts so [wdi5](artifact:ui5-community-wdi5) end-to-end tests can run against distinct tenant datasets.","authors":["actor:marianfoo"],"published":"2024-11-18","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"fiori-elements-tag"},{"source":"source:sap-community","channel":"fiori-tools-tag"}],"first_seen":"2026-10-21"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 23 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2024-11-18"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":4300,"unit":"views"},{"value":4,"unit":"comments"},{"value":11,"unit":"likes"}]},"signals":{"views":4300,"likes":11,"comments":4,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[{"ref":"actor:marianfoo","name":"Marian Zeis","json":"/actors/marianfoo.json"}]}}