FunTester’s Journey: Building a Java‑Based API Testing Framework and Performance Testing Solutions
The article shares two years of backend testing experience using Java and Groovy, detailing a custom HttpClient‑based testing framework with MySQL storage, HTML reporting, alert notifications, and a comprehensive collection of API testing, performance testing, and test‑design resources.
FunTester, a self‑described "nuclear‑bomb tester," recounts two years of server‑side testing experience using Java and Groovy, describing a custom testing framework built on HttpClient 4.5 that includes MySQL data storage, HTML reports, and alert‑over notifications.
API Testing
Common pitfalls and solutions for functional and automated API testing are presented, along with a curated list of practical articles.
Using Spring Boot + MyBatis for Database Service
Java HttpClient Implementation of AlertOver Push API
Generic Validation Class for API Automation
Automatically Convert Swagger Documentation into Test Code
HttpClient Handling of Multiple Simultaneous Users
HttpClient Example for Turing Robot Web API Call
Using Groovy with Java API Testing Framework to Send HTTP Requests
HttpClient Call to JD Wanxiang Digital Marketing News API Example
Solution for HttpClient Socket Closed Issue
Ensuring Resource Release in HttpClient 4.5
Handling 302 Redirects with HttpClient
Exploring a Linear Java API Testing Framework
Sending Failure Notification via AlertOver
Cause of Socket Closed Error When Parsing Entity with EntityUtils
Configuring Retry Controller in HttpClient API Testing
Appending Parameters to GET Requests
Encapsulating HttpClient File Upload Method
Example of Batch File Upload via API
Sending HTTPS Requests with HttpClient and Resolving SSLHandshakeException
API Performance
Performance testing strategies and Groovy script implementations are discussed, along with tools such as Timewatch and a Chinese‑localized Netdata.
Chinese Localization of Netdata Linux Performance Monitoring
Timewatch: A Timer Helper for Performance Testing
Performance Testing Framework
Conducting Performance Testing Comfortably on Linux CLI
High Concurrency Configuration Example for HttpClient on macOS
Single Sign‑On Performance Testing Solution
Load Testing a Single‑Row Multiple‑Update API
Performance Testing of Message Queues
Load Testing the Password‑Change API
Load Testing a Multi‑Row Single‑Update API
Testing Solutions
Designs for specific test scenarios are presented, covering both functional and performance aspects.
Performance Testing of Message Queues
Load Testing the Password‑Change API
Testing Probabilistic Business APIs
Testing Non‑Fixed Probabilistic Algorithm P = p(1+0.1*N)
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
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.
