Invited Talk at Ashoka University

Sujit presented an invited talk titled "A Specification-based Test Generation Framework for RESTful Web Applications" at Ashoka University, Sonepat, Haryana on November 19, 2026.

Abstract

Existing tools for the automated generation of unit tests for web applications typically test web API functions or endpoints in isolation. However, the business logic of most modern web applications relies heavily on the complex combinations of these individual API functions. Consequently, many complex defects—which we term integration bugs—reside within these interactions. To the best our knowledge, very little existing research addresses the problem of integration testing for web applications.

We present a specification-based framework designed to overcome this gap. Our framework generates powerful integration tests derived from formal specifications of RESTful APIs. We also introduce the formal specification language in which these specifications are written. We have applied our framework to generate integration tests for a number of web applications of practical scale. Our tests demonstrated the ability to discover subtle integration bugs that existing unit test generation algorithms cannot detect.

We briefly discuss a variety of testing scenarios in which the above framework can be employed. As a part of ongoing research, we also touch upon application of GenAI to generate the formal specification used as an input by our framework. This significantly lowers the barrier in effective employment of our test generation approach in practical scenarios.

Sujit at Ashoka University