JMAC: A Cloud‑Based Mobile Automation Testing Platform – Architecture and Core Features
JMAC is a cloud‑based mobile automation testing platform that addresses common challenges such as complex environment setup, low script reusability, and limited device compatibility by providing server‑side script management, distributed task scheduling, real‑device sharing, and detailed result analysis across Android and iOS.
Background : Mobile automation testing faces many issues, including cumbersome environment installation, non‑scalable app products, lack of compatibility testing, low script reuse, limited execution scope, and unclear test results.
JMAC Overview : JMAC streamlines and platforms these processes, offering cloud‑managed script versioning, modularization, project package management, CI‑compatible scheduled tasks, comprehensive result analytics, and history tracking, with future support for remote devices, debugging, H5 and mini‑program testing.
Core Function Modules :
Versioned, modular cloud management of test scripts.
Cloud service version control for project packages.
Configurable timed tasks suitable for CI pipelines.
Summary and detailed test result analysis and distribution.
Historical version regression and record viewing.
Server – Implementation : Built on Spring MVC + MyBatis, it manages scripts and packages in a hierarchical cloud, stores scripts in source control, uses JD Cloud storage for assets, and leverages Spring Boot with Quartz for dynamic scheduled tasks.
Server Architecture Diagram :
Client – Implementation : A Java Swing application integrating Android SDK, SVN, Appium, etc., handling real‑device detection, synchronization, environment configuration, and distributed task execution. It syncs USB‑connected devices to the server and dispatches tasks to clients.
Client Architecture Diagram :
Device – Implementation : Test scripts for Android and iOS are written in Java with TestNG, encapsulating smart waits, screenshots, CPU monitoring, log and image callbacks. The JMAC app on non‑root devices enables automatic installation permissions and remote sharing.
Supported Systems :
Performance : Approximately 1 minute per test case.
Result Presentation : Test outcomes are displayed in JMAC with overview and detailed reports.
Conclusion : After an initial development phase, JMAC now supports script, package, account, and group cloud management, as well as cloud‑based test execution; future plans include online device debugging, script generation, security scanning, and deep compatibility testing.
JD Tech
Official JD technology sharing platform. All the cutting‑edge JD tech, innovative insights, and open‑source solutions you’re looking for, all in one place.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.