Rancang Bangun Sistem Pembangkit Skenario Pengujian Multi-Persona Berbasis Large Language Model (LLM)
Tsania Qurrota A'yunin Qulub, Divi Galih Prasetyo Putri, S.Kom., M.Kom., Ph.D
2026 | Tugas Akhir | D4 Teknologi Perangkat Lunak
Software quality assurance requires comprehensive test scenarios that cover positive, negative, and edge-case scenarios. However, designing test scenarios manually can be time-consuming, inconsistent, and prone to missing important requirements. This research develops Test Scenario Generator, a web-based system that automatically generates test scenarios from requirement documents using Claude API and four black-box testing methodologies, Equivalence Partitioning, Boundary Value Analysis, Decision Table Testing, and State Transition Testing. The system provides general, chatbot, and hybrid testing modes, supports output in English and Indonesian, and uses personas to generate conversations for chatbot scenarios. The system was evaluated through three assessments, consisting of a comparison of Claude Haiku 4.5, Sonnet 4.6, and Opus 4.8 based on requirement coverage and latency across fifteen generation runs with persona variation on the chatbot document, an evaluation of persona language style using LLM-as-a-Judge across nine persona-model combinations, and User Acceptance Testing involving ten respondents. Both requirement documents come from a partner company's real projects and are not publicly available, so replication requires the same configuration applied to requirement documents of a similar context. For the documents and configurations evaluated, the highest requirement coverage was achieved by Sonnet at 88.7% on the financial services chatbot document and by Opus at 95.5% on the audit assistant web application document, while Opus had the lowest average latency at 210.86 seconds, so no single model led on both metrics. Persona language style received average scores ranging from 4.00 to 4.22 out of 5, with Opus the most consistent in maintaining persona style. Overall user acceptance reached 90.36% and falls into the Very Good category, with all four assessed aspects also in that category. These results indicate that Test Scenario Generator can support automated test scenario preparation from requirement documents through configurable models, testing modes, and personas.
Kata Kunci : black-box testing, Claude API, dokumen kebutuhan, Large Language Model, persona, skenario pengujian, Test Scenario Generator