Woowa Brothers Cuts Web Execution Time by About 68% While Building Natural-Language Test Automation
Key point
Woowa Brothers automated natural-language testing with Amazon Bedrock and AWS Device Farm, reducing web execution time from 795 seconds to about 255 seconds.
Details
- Woowa Brothers built a system that combines Claude on Amazon Bedrock, Strands Agents, MCP, and AWS Device Farm to run natural-language test cases across web, app, and API.
- Using the same baseline cases, web test time fell from 795 seconds to about 255 seconds, a reduction of about 68%, while app test time fell from 482 seconds to about 270 seconds, a reduction of about 44%. Automated onboarding for physical devices also fell from 120 seconds to 36 seconds, a reduction of about 70%.
- Bottleneck analysis found that Appium tasks took 67~577ms, but LLM turns between tool calls accounted for about 82% of the total time. Tool-use rules and call consolidation reduced repeated UI flows from 6~7 turns to 1 turn.
- Screen-element XML was compressed from 39KB to 5.3KB, an 87% reduction, and final response JSON generation time fell from 38 seconds to 24 seconds, a reduction of about 37%. In A/B measurements that combined prompt caching with fixes to duplicate-detection logic, per-case times were 72s→59s(-18%) and 157s→138s(-12%).
Execution Structure and Operations
- Each test step consists of a natural-language description of the action and an optional mcp_instruction. The execution agent follows mcp_instruction first and recovers based on the natural-language description if a selector breaks.
- WEB runs through Playwright MCP, APP through Device Farm's managed Appium endpoint, and API through a dedicated call tool. Tests on the same device run sequentially, while different devices and web targets run in parallel. The default global concurrency is 10, and the default start stagger is 1,500ms.
Tuning and Result Reuse
- The system prompt limits tool calls to 3 per step, marks a test as failed if the count exceeds 5, and allows recovery only once using a snapshot and one retry. Since run-to-run variation was around ±20 seconds, only changes that consistently improved results across 3 or more runs were adopted.
- Execution results, screenshots, videos, and traces are stored in Amazon S3, and result-summary JSON is used as searchable data in Amazon Bedrock Knowledge Bases. The web and API runners search for the top 3 past results by title, while the mobile execution path does not use search.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.