Elysia Tools
Navigation
Developer Tools
LogRocket: offline synthetic exercises
Inspect three finite fixtures: Drop request content, Local level allowlist, All capture flags disabled.
Samples
Entries inside this sample collection
Drop request content
From the synthetic request-shaped object, allow only method and status. Do not retain headers or body.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "allowlist",
"allow": [
"method",
"status"
],
"input": {
"method": "GET",
"status": 204,
"headers": "synthetic secret placeholder",
"body": "synthetic text"
},
"expected": {
"method": "GET",
"status": 204
}
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Local level allowlist
Count only warn and error in the five synthetic labels; ignore debug and info.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "levels",
"allow": [
"warn",
"error"
],
"input": [
"debug",
"info",
"warn",
"error",
"warn"
],
"expected": {
"warn": 2,
"error": 1
}
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
All capture flags disabled
Require networkCapture, consoleCapture, domCapture and exportEnabled to be Boolean false.
{
"scope": "explicitly synthetic, offline only; not product SDK configuration",
"fixtureVersion": 1,
"kind": "disabled",
"flags": {
"networkCapture": false,
"consoleCapture": false,
"domCapture": false,
"exportEnabled": false
},
"rule": "all flags must be false; application-owned policy, not SDK options",
"expected": true
}- synthetic
- true
- offlineOnly
- true
- sdkIntegration
- false
Tools
Tools frequently paired with this sample
Related
Related sample collections
Related