Deterministic log test replay framework for Devops Environment

  • Unique Paper ID: 196511
  • Volume: 12
  • Issue: 11
  • PageNo: 4320-4326
  • Abstract:
  • In the dynamic landscape of DevOps, reproducing complex user interactions from production logs remains a significant challenge, often leading to prolonged debugging cycles and undetected non-deterministic bugs in distributed systems. This paper introduces the Deterministic Log Test Replay Framework (DLTRF), a lightweight, appagnostic solution designed to capture, store, and deterministically replay structured HTTP events from web applications such as OWASP Juice Shop. The framework comprises two microservices: a Universal Logging Hook that intercepts Nginx access logs via Fluentd and forwards normalized JSON events to Redis Streams for durable, ordered storage; and a Replay Engine that reads these streams, sorts events by a monotonically increasing sequence number (the Memento T-relation) for strict causal ordering, re-executes HTTP requests with injected JWT tokens, and classifies response divergences using a config-driven rule engine backed by DeepDiff comparison. A Memento-pattern checkpoint mechanism snapshots and restores application database state using a pause-copy-unpause strategy that preserves in-process JWT signing secrets across restore cycles. Experimental results on 199–285 event sessions demonstrate up to 99.0% reproduction fidelity with under 30ms average response latency, with cache and WebSocket noise automatically classified and excluded from the fidelity metric. The framework integrates Grafana and Prometheus for real-time observability and generates a structured fourtier HTML report (Exact Match, Expected Noise, Investigate, Critical) for actionable developer feedback.

Copyright & License

Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{196511,
        author = {Sumitra Musib and Vikash Pratap Bahadur Patel and Bhavesh T Sable and Gaurav Singh and Anup vanage},
        title = {Deterministic log test replay framework for Devops Environment},
        journal = {International Journal of Innovative Research in Technology},
        year = {2026},
        volume = {12},
        number = {11},
        pages = {4320-4326},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=196511},
        abstract = {In the dynamic landscape of DevOps, reproducing complex user interactions from production logs remains a significant challenge, often leading to prolonged debugging cycles and undetected non-deterministic bugs in distributed systems. This paper introduces the Deterministic Log Test Replay Framework (DLTRF), a lightweight, appagnostic solution designed to capture, store, and deterministically replay structured HTTP events from web applications such as OWASP Juice Shop. The framework comprises two microservices: a Universal Logging Hook that intercepts Nginx access logs via Fluentd and forwards normalized JSON events to Redis Streams for durable, ordered storage; and a Replay Engine that reads these streams, sorts events by a monotonically increasing sequence number (the Memento T-relation) for strict causal ordering, re-executes HTTP requests with injected JWT tokens, and classifies response divergences using a config-driven rule engine backed by DeepDiff comparison. A Memento-pattern checkpoint mechanism snapshots and restores application database state using a pause-copy-unpause strategy that preserves in-process JWT signing secrets across restore cycles. Experimental results on 199–285 event sessions demonstrate up to 99.0% reproduction fidelity with under 30ms average response latency, with cache and WebSocket noise automatically classified and excluded from the fidelity metric. The framework integrates Grafana and Prometheus for real-time observability and generates a structured fourtier HTML report (Exact Match, Expected Noise, Investigate, Critical) for actionable developer feedback.},
        keywords = {DevOps, Deterministic Replay, Log Analysis, Redis Streams, Memento Pattern, OWASP Juice Shop, CI/CD, Divergence Classification, JWT, Grafana.},
        month = {April},
        }

Cite This Article

Musib, S., & Patel, V. P. B., & Sable, B. T., & Singh, G., & vanage, A. (2026). Deterministic log test replay framework for Devops Environment. International Journal of Innovative Research in Technology (IJIRT), 12(11), 4320–4326.

Related Articles