Software Testing at the Network Layer: Automated HTTP API Quality Assessment and Security Analysis of Production Web Applications
Ali Hassaan Mughal, Muhammad Bilal, Noor Fatima

TL;DR
This paper introduces an automated framework for assessing the quality and security of HTTP API calls in production web applications, revealing widespread issues and providing a reproducible testing methodology.
Contribution
The study presents a novel automated testing framework that captures, analyzes, and scores HTTP traffic for web applications, highlighting common anti-patterns and security risks.
Findings
Widespread presence of redundant API calls and missing cache headers.
Content-heavy sites score significantly lower on quality metrics.
Third-party dependencies contribute to over 20% of total requests.
Abstract
Modern web applications rely heavily on client-side API calls to fetch data, render content, and communicate with backend services. However, the quality of these network interactions (redundant requests, missing cache headers, oversized payloads, and excessive third-party dependencies) is rarely tested in a systematic way. Moreover, many of these quality deficiencies carry security implications: missing cache headers enable cache poisoning, excessive third-party dependencies expand the supply-chain attack surface, and error responses risk leaking server internals. In this study, we present an automated software testing framework that captures and analyzes the complete HTTP traffic of 18 production websites spanning 11 categories (e-commerce, news, government, developer tools, travel, and more). Using automated browser instrumentation via Playwright, we record 108 HAR (HTTP Archive)…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Software Testing and Debugging Techniques · Software System Performance and Reliability
