Lune

ISSTA2021Top-tier venue

Model-based testing of networked applications

Yishuai Li, Benjamin C. Pierce, Steve Zdancewic

Abstract

We present a principled automatic testing framework for applicationlayer protocols. The key innovation is a domain-specific embedded language for writing nondeterministic models of the behavior of networked servers. These models are defined within the Coq interactive theorem prover, supporting a smooth transition from testing to formal verification. Given a server model, we show how to automatically derive a tester that probes the server for unexpected behaviors. We address the uncertainties caused by both the server's internal choices and the network delaying messages nondeterministically. The derived tester accepts server implementations whose possible behaviors are a subset of those allowed by the nondeterministic model. We demonstrate the effectiveness of this framework by using it to specify and test a fragment of the HTTP/1.1 protocol, showing that the automatically derived tester can capture RFC violations in buggy server implementations, including the latest versions of Apache and Nginx.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Model Checking Guided Incremental Testing for Distributed Systems cites Model Checking Guided Testing for Distributed Systems
  • Model-Guided Fuzzing of Distributed Systems cites Model Checking Guided Testing for Distributed Systems
  • Model-Guided Fuzzing of Distributed Systems cites Randomized Testing of Byzantine Fault Tolerant Algorithms
  • An Empirical Study on Kubernetes Operator Bugs cites Model Checking Guided Testing for Distributed Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Randomized Testing of Byzantine Fault Tolerant AlgorithmsLevin N. Winter, Florena Buse, Daan de Graaf, Klaus von Gleissenthall et al.OOPSLA 2023 · 23 citations
  2. Model Checking Guided Testing for Distributed SystemsDong Wang, Wensheng Dou, Yu Gao, Chenao Wu et al.EuroSys 2023 · 21 citations
  3. An Empirical Study on Kubernetes Operator BugsQingxin Xu, Yu Gao, Jun WeiISSTA 2024 · 7 citations
  4. Model-Guided Fuzzing of Distributed SystemsEge Berkay Gulcan, Burcu Kulahcioglu Ozkan, Rupak Majumdar, Srinidhi NagendraOOPSLA 2025 · 3 citations
  5. Model Checking Guided Incremental Testing for Distributed SystemsYu Gao, Dong Wang, Wensheng Dou, Wenhan Feng et al.ISSTA 2025 · 1 citation

Builds on1

  1. Interaction trees: representing recursive and impure programs in CoqLi-yao Xia, Yannick Zakowski, Paul He, Chung-Kil Hur et al.POPL 2020 · 133 citations

Related papers

  1. Leapfrog: certified equivalence for protocol parsersRyan Doenges, Tobias Kappé, John Sarracino, Nate Foster et al.PLDI 2022 · 11 citations
  2. WebSpec: Towards Machine-Checked Analysis of Browser Security MechanismsLorenzo Veronese, Benjamin Farinier, Pedro Bernardo, Mauro Tempesta et al.S&P 2023
  3. Integration verification across software and hardware for a simple embedded systemAndres Erbsen, Samuel Gruetter, Joonwon Choi, Clark Wood et al.PLDI 2021 · 29 citations
  4. Verified Density Compilation for a Probabilistic Programming LanguageJoseph Tassarotti, Jean-Baptiste TristanPLDI 2023 · 6 citations
  5. Certifying derivation of state machines from coroutinesMirai Ikebuchi, Andres Erbsen, Adam ChlipalaPOPL 2022 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines