{ "log": { "version": "1.2", "creator": { "name": "Cookie HAR Analyzer Demo", "version": "1.0" }, "entries": [ { "_comment": "Entry 0: GET homepage — session_id in query string and request cookie", "startedDateTime": "2024-01-15T10:00:00.000Z", "time": 120, "request": { "method": "GET", "url": "https://demo.example.test/?session_id=sess_abc123xyz789&ref=direct", "httpVersion": "HTTP/2", "headers": [ { "name": "Host", "value": "demo.example.test" }, { "name": "Accept", "value": "text/html,application/xhtml+xml" }, { "name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c3JfNzg0MjEiLCJyb2xlIjoiYWRtaW4ifQ.demo_sig" } ], "cookies": [ { "name": "session_id", "value": "sess_abc123xyz789" }, { "name": "csrf_token", "value": "csrf_xk9m2p4r7t1q" } ], "queryString": [ { "name": "session_id", "value": "sess_abc123xyz789" }, { "name": "ref", "value": "direct" } ], "headersSize": -1, "bodySize": 0 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "text/html; charset=utf-8" }, { "name": "Set-Cookie", "value": "session_id=sess_abc123xyz789; Path=/; HttpOnly; Secure; SameSite=Lax" }, { "name": "X-Request-Id", "value": "req_demo_001" } ], "cookies": [ { "name": "session_id", "value": "sess_abc123xyz789" } ], "content": { "mimeType": "text/html", "text": "Demo AppWelcome to Demo App. Session: sess_abc123xyz789" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 1: POST login — auth_token in JSON request body and response", "startedDateTime": "2024-01-15T10:00:01.000Z", "time": 85, "request": { "method": "POST", "url": "https://demo.example.test/api/auth/login", "httpVersion": "HTTP/2", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "X-CSRF-Token", "value": "csrf_xk9m2p4r7t1q" } ], "cookies": [], "queryString": [], "postData": { "mimeType": "application/json", "text": "{\"username\":\"demo_user\",\"password\":\"[redacted]\",\"device_id\":\"dev_encoded_hello world!\",\"remember\":true}" }, "headersSize": -1, "bodySize": -1 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Set-Cookie", "value": "auth_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c3JfNzg0MjEiLCJyb2xlIjoiYWRtaW4ifQ.demo_sig; Path=/; HttpOnly; Secure" } ], "cookies": [ { "name": "auth_token", "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c3JfNzg0MjEiLCJyb2xlIjoiYWRtaW4ifQ.demo_sig" } ], "content": { "mimeType": "application/json", "text": "{\"success\":true,\"token\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c3JfNzg0MjEiLCJyb2xlIjoiYWRtaW4ifQ.demo_sig\",\"user\":{\"id\":\"usr_78421\",\"role\":\"admin\"},\"csrf\":\"csrf_xk9m2p4r7t1q\"}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 2: GET user profile — analytics_uid in JSON response body", "startedDateTime": "2024-01-15T10:00:02.000Z", "time": 95, "request": { "method": "GET", "url": "https://demo.example.test/api/user/profile", "httpVersion": "HTTP/2", "headers": [ { "name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c3JfNzg0MjEiLCJyb2xlIjoiYWRtaW4ifQ.demo_sig" }, { "name": "Cookie", "value": "session_id=sess_abc123xyz789; tracking_id=trk_pipe|user=78421|session=sess_abc123|ref=homepage" } ], "cookies": [ { "name": "session_id", "value": "sess_abc123xyz789" }, { "name": "tracking_id", "value": "trk_pipe|user=78421|session=sess_abc123|ref=homepage" } ], "queryString": [], "headersSize": -1, "bodySize": 0 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "application/json" } ], "cookies": [], "content": { "mimeType": "application/json", "text": "{\"user\":{\"id\":\"usr_78421\",\"email\":\"demo@example.test\",\"analytics\":{\"userId\":\"usr_78421\",\"cohort\":\"beta_testers\",\"variant\":\"B\"},\"cart\":\"cart_uuid_9f3b2a1c7e4d\",\"preferences\":{\"theme\":\"dark\",\"lang\":\"en-US\"}}}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 3: POST add to cart — cart_id in form data and response", "startedDateTime": "2024-01-15T10:00:03.000Z", "time": 75, "request": { "method": "POST", "url": "https://demo.example.test/shop/cart/add", "httpVersion": "HTTP/2", "headers": [ { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "X-CSRF-Token", "value": "csrf_xk9m2p4r7t1q" } ], "cookies": [ { "name": "cart_id", "value": "cart_uuid_9f3b2a1c7e4d" }, { "name": "session_id", "value": "sess_abc123xyz789" } ], "queryString": [], "postData": { "mimeType": "application/x-www-form-urlencoded", "params": [ { "name": "product_id", "value": "prod_demo_001" }, { "name": "cart_id", "value": "cart_uuid_9f3b2a1c7e4d" }, { "name": "quantity", "value": "2" } ], "text": "product_id=prod_demo_001&cart_id=cart_uuid_9f3b2a1c7e4d&quantity=2" }, "headersSize": -1, "bodySize": -1 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "application/json" } ], "cookies": [], "content": { "mimeType": "application/json", "text": "{\"success\":true,\"cart\":{\"id\":\"cart_uuid_9f3b2a1c7e4d\",\"items\":1,\"total\":29.99}}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 4: GET analytics beacon — tracking_id components in query string", "startedDateTime": "2024-01-15T10:00:04.000Z", "time": 30, "request": { "method": "GET", "url": "https://analytics.demo.example.test/beacon?user=78421&session=sess_abc123&ref=homepage&trk=trk_pipe", "httpVersion": "HTTP/2", "headers": [ { "name": "Referer", "value": "https://demo.example.test/" } ], "cookies": [], "queryString": [ { "name": "user", "value": "78421" }, { "name": "session", "value": "sess_abc123" }, { "name": "ref", "value": "homepage" }, { "name": "trk", "value": "trk_pipe" } ], "headersSize": -1, "bodySize": 0 }, "response": { "status": 204, "statusText": "No Content", "headers": [], "cookies": [], "content": { "mimeType": "text/plain", "text": "" }, "redirectURL": "", "headersSize": -1, "bodySize": 0 } }, { "_comment": "Entry 5: GET AB test page — ab_test cookie decoded in URL", "startedDateTime": "2024-01-15T10:00:05.000Z", "time": 110, "request": { "method": "GET", "url": "https://demo.example.test/onboarding?variant=A&experiment=onboarding_v2&bucket=42", "httpVersion": "HTTP/2", "headers": [], "cookies": [ { "name": "ab_test", "value": "variant%3DA%26experiment%3Donboarding_v2%26bucket%3D42" } ], "queryString": [ { "name": "variant", "value": "A" }, { "name": "experiment", "value": "onboarding_v2" }, { "name": "bucket", "value": "42" } ], "headersSize": -1, "bodySize": 0 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "text/html; charset=utf-8" } ], "cookies": [], "content": { "mimeType": "text/html", "text": "Welcome to onboarding_v2 experiment, variant A, bucket 42. User session: sess_abc123xyz789" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 6: POST preferences — pref_cookie components in JSON body", "startedDateTime": "2024-01-15T10:00:06.000Z", "time": 65, "request": { "method": "POST", "url": "https://demo.example.test/api/user/preferences", "httpVersion": "HTTP/2", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c3JfNzg0MjEiLCJyb2xlIjoiYWRtaW4ifQ.demo_sig" } ], "cookies": [], "queryString": [], "postData": { "mimeType": "application/json", "text": "{\"theme\":\"dark\",\"lang\":\"en-US\",\"tz\":\"America/New_York\",\"notifications\":true,\"newsletter\":false,\"beta\":true}" }, "headersSize": -1, "bodySize": -1 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Set-Cookie", "value": "pref_cookie=theme=dark;lang=en-US;tz=America%2FNew_York; Path=/; SameSite=Lax" } ], "cookies": [], "content": { "mimeType": "application/json", "text": "{\"saved\":true,\"preferences\":{\"theme\":\"dark\",\"lang\":\"en-US\",\"tz\":\"America/New_York\"}}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 7: GET device check — device_id URL-encoded value found", "startedDateTime": "2024-01-15T10:00:07.000Z", "time": 45, "request": { "method": "GET", "url": "https://demo.example.test/api/device/verify?device=dev_encoded_hello%20world%21", "httpVersion": "HTTP/2", "headers": [], "cookies": [ { "name": "device_id", "value": "dev_encoded_hello%20world%21" } ], "queryString": [ { "name": "device", "value": "dev_encoded_hello%20world%21" } ], "headersSize": -1, "bodySize": 0 }, "response": { "status": 200, "statusText": "OK", "headers": [], "cookies": [], "content": { "mimeType": "application/json", "text": "{\"device\":\"dev_encoded_hello world!\",\"verified\":true,\"fingerprint\":\"fp_demo_abc\"}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 8: GET geo-content — geo_cookie components in response body", "startedDateTime": "2024-01-15T10:00:08.000Z", "time": 90, "request": { "method": "GET", "url": "https://demo.example.test/api/content/regional", "httpVersion": "HTTP/2", "headers": [], "cookies": [ { "name": "geo_cookie", "value": "country=US:region=CA:city=SanFrancisco" } ], "queryString": [], "headersSize": -1, "bodySize": 0 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "application/json" } ], "cookies": [], "content": { "mimeType": "application/json", "text": "{\"region\":{\"country\":\"US\",\"region\":\"CA\",\"city\":\"SanFrancisco\",\"currency\":\"USD\",\"locale\":\"en-US\"},\"content\":\"Regional pricing applied\"}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 9: POST checkout — multiple cookie values appearing together", "startedDateTime": "2024-01-15T10:00:09.000Z", "time": 180, "request": { "method": "POST", "url": "https://demo.example.test/shop/checkout", "httpVersion": "HTTP/2", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "X-Session", "value": "sess_abc123xyz789" }, { "name": "X-CSRF-Token", "value": "csrf_xk9m2p4r7t1q" }, { "name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJ1c3JfNzg0MjEiLCJyb2xlIjoiYWRtaW4ifQ.demo_sig" } ], "cookies": [ { "name": "session_id", "value": "sess_abc123xyz789" }, { "name": "cart_id", "value": "cart_uuid_9f3b2a1c7e4d" }, { "name": "csrf_token", "value": "csrf_xk9m2p4r7t1q" } ], "queryString": [], "postData": { "mimeType": "application/json", "text": "{\"cart_id\":\"cart_uuid_9f3b2a1c7e4d\",\"session\":\"sess_abc123xyz789\",\"payment\":{\"method\":\"card\",\"token\":\"pay_demo_tok\"},\"analytics\":{\"userId\":\"usr_78421\",\"cohort\":\"beta_testers\",\"variant\":\"B\"}}" }, "headersSize": -1, "bodySize": -1 }, "response": { "status": 201, "statusText": "Created", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Location", "value": "/orders/ord_demo_001" } ], "cookies": [], "content": { "mimeType": "application/json", "text": "{\"order_id\":\"ord_demo_001\",\"status\":\"confirmed\",\"cart_id\":\"cart_uuid_9f3b2a1c7e4d\",\"session\":\"sess_abc123xyz789\",\"total\":29.99,\"user\":{\"id\":\"usr_78421\",\"email\":\"demo@example.test\"}}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 10: GET user prefs API — user_prefs cookie decomposed", "startedDateTime": "2024-01-15T10:00:10.000Z", "time": 55, "request": { "method": "GET", "url": "https://demo.example.test/api/user/settings?notifications=true&newsletter=false&beta=true", "httpVersion": "HTTP/2", "headers": [], "cookies": [], "queryString": [ { "name": "notifications", "value": "true" }, { "name": "newsletter", "value": "false" }, { "name": "beta", "value": "true" } ], "headersSize": -1, "bodySize": 0 }, "response": { "status": 200, "statusText": "OK", "headers": [], "cookies": [], "content": { "mimeType": "application/json", "text": "{\"settings\":{\"notifications\":true,\"newsletter\":false,\"beta\":true}}" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } }, { "_comment": "Entry 11: GET image resource — no cookies present, for contrast", "startedDateTime": "2024-01-15T10:00:11.000Z", "time": 25, "request": { "method": "GET", "url": "https://cdn.demo.example.test/images/logo.png", "httpVersion": "HTTP/2", "headers": [], "cookies": [], "queryString": [], "headersSize": -1, "bodySize": 0 }, "response": { "status": 200, "statusText": "OK", "headers": [ { "name": "Content-Type", "value": "image/png" }, { "name": "Cache-Control", "value": "max-age=86400" } ], "cookies": [], "content": { "mimeType": "image/png", "encoding": "base64", "text": "iVBORw0KGgo=" }, "redirectURL": "", "headersSize": -1, "bodySize": -1 } } ] } }