Skip to content
Preprint

A Model-based Testing Technique for Amazon Lex Task-based Chatbots

Jul 2026 · 0 citations · 36 references
Computer Science

TL;DR

LexTester is presented, an automated model-based testing technique for Amazon Lex chatbots that explores the conversational space of the chatbot under test to generate a Dialog Graph of all possible interactions, from which an executable test suite is generated according to different coverage strategies.

Abstract

Task-based chatbots are nowadays widely adopted software systems, usually integrated into real-world applications and communication channels, designed to assist users in completing tasks through conversational interfaces. Like any other software, even chatbots are prone to bugs. Despite their increasing pervasiveness in everyday activities, existing techniques for assessing their quality still exhibit several limitations, such as the simplicity of generated test scenarios and oracle weaknesses. In this paper, we present LexTester, an automated model-based testing technique for Amazon Lex chatbots. The technique explores the conversational space of the chatbot under test to generate a Dialog Graph of all possible interactions, from which an executable test suite is generated according to different coverage strategies. LexTester was evaluated against the state-of-the-practice chatbot testing tool Botium on five Amazon Lex chatbots, consistently outperforming it in all subjects, generating more tests with nearly double complexity, achieving overall 83-95% coverage of conversational elements, and improving fault detection effectiveness by up to four times at comparable time costs.

View source

Similar papers

#software testing Open access Aug 2026

Reverse Engineering of Chatbot Behaviour for Automated Testing

A reverse engineering technique is presented for extracting a behavioural model of a deployed chatbot through the automated exploration of its functionality via Large Language Models through the automated exploration of its functionality via Large Language Models.

Iván Sotillo del Horno, Alejandro del Pozzo, Esther Guerra et al. · 0 citations
Open access Aug 2026

DEVELOPMENT AND ACCEPTABILITY OF AN INTELLIGENT CHATBOT FOR STUDENT SERVICES IN EASTERN SAMAR STATE UNIVERSITY SALCEDO CAMPUS

The study successfully validated that the intelligent chatbot efficiently bridges communication barriers, automates repetitive administrative inquiries, and improves service accessibility, confirming that the application is highly usable, practical, and effective as an inclusive, assistive communication tool.

G. G. Dialogo, Hershey Alburo-Abugadie, Enrico C. Lucero · 0 citations
Preprint Jul 2026

Refused in Chat, Written in Code: Workflow-Level Jailbreak Construction in IDE Coding Agents

These results show that conversational refusal benchmarks can substantially overstate the safety of deployed coding agents and motivate defenses that reason about safety across multi-turn IDE workflows and their generated artifacts, not only individual chat turns.

Abhishek Kumar, C. Maple · 0 citations
Aug 2026

RAG-test: a framework to evaluate RAG chatbot performance and measure productivity gains

This paper proposes RAG-Test, a developer-centric and unified framework that automates test case generation, attribution validation, and productivity estimation and introduces a theoretical productivity gains model, estimating chatbot efficiency improvements over search engines.

Shashank Parmar · 0 citations
Open access 2026

Exploring the Effect of Multiple Languages on Code Suggestion Using ChatGPT 5.2

It was observed that Portuguese prompts generally showed a slight advantage in terms of the accuracy rate compared to prompts in other languages, but the analysis of variance (ANOVA) indicates that this variation was not significant at the 5% level.

Jonathan Cardoso de Sales, S. Oliveira · 0 citations
Open access Jul 2026

Optimizing RAG-Based Academic Chatbot Performance Using Prompt Engineering

Findings indicate that clear prompt instructions can improve the reliability of RAG-based academic chatbot responses for academic information services and show the strongest improvement in faithfulness and context recall.

Adi Surya Artayasa, Aniek Suryanti Kusuma, Putu Sugiartawan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.