How ZTO Tech’s Quality Team Automated Dubbo Interface Testing with JMeter

This article details how ZTO Technology's quality improvement team built a fully automated, platform‑based solution for testing Dubbo interfaces using JMeter, Testlink, and Jira, covering background challenges, implementation principles, testing workflow, and the resulting benefits and conclusions.

Zhongtong Tech
Zhongtong Tech
Zhongtong Tech
How ZTO Tech’s Quality Team Automated Dubbo Interface Testing with JMeter

1. Background

During interface testing of a distributed service framework Dubbo configured with full Spring, the team at ZTO (Zhongtong) faced the problem of “no direct API call – cannot test via URL + parameters like HTTP”.

2. Implementation Principle

The quality improvement department built an end‑to‑end automated and platformized solution that integrates Testlink, JMeter and Jira. The workflow is visual and WYSIWYG. The architecture is shown in the diagram.

3. Testing Process

3.1 Environment Management – supports local and global variable configuration; the Zookeeper URL for Dubbo is set here.

3.2 Interface Management – all seven Java request fields (address, interface name, method name, group, version, parameter types, request data) are configured in a single entry, enabling project‑driven script management.

3.3 JDBC Connection – provides database address, username and password for JMeter to query data.

3.4 BeanShell PostProcessor – extracts JSON data; scripts can be edited directly in the platform.

3.5 Assertion – BeanShell assertion compares the JSON response with the database query result.

3.6 Run Management – supports 24/7 unattended execution, custom schedule and environment selection.

3.7 Test Report – JMeter reports are extended with ANT integration to display task, case, environment and configuration details.

4. Conclusion

JMeter offers extensible components for custom interface testing. The ZTO quality center’s platformized solution has executed hundreds of Dubbo interface cases, uncovered dozens of defects, and proved its effectiveness. Ongoing work focuses on further UI and workflow optimization.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

AutomationAPI testing
Zhongtong Tech
Written by

Zhongtong Tech

Integrating industry and information for digital efficiency, advancing Zhongtong Express's high-quality development through digitalization. This is the public channel of Zhongtong's tech team, delivering internal tech insights, product news, job openings, and event updates. Stay tuned!

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.