Tagged articles
207 articles
Page 2 of 3
FunTester
FunTester
Oct 9, 2020 · Backend Development

Why Does My Groovy Object’s toString Return Empty? A Debugging Tale

The article explains a puzzling bug where a Groovy‑created object's toString becomes empty after fastjson serialization, traces the issue to Java access modifiers, demonstrates the problem with sample code and console output, and resolves it by adding a public modifier.

Access ModifiersGroovydebugging
0 likes · 3 min read
Why Does My Groovy Object’s toString Return Empty? A Debugging Tale
FunTester
FunTester
Sep 30, 2020 · Backend Development

How I Built a Groovy Script to Parse Zookeeper XML Configs for MySQL

After completing a DOM‑based XML parsing class, I tackled the messy Zookeeper configuration hierarchy for MySQL services, exposing unexpected node structures, missing values, and hundreds of database settings, and finally crafted a Groovy script that traverses the XML, filters relevant keys, and logs the extracted configuration details.

Configuration ManagementGroovyXML parsing
0 likes · 6 min read
How I Built a Groovy Script to Parse Zookeeper XML Configs for MySQL
FunTester
FunTester
Sep 29, 2020 · Backend Development

How to Quickly Parse Zookeeper XML Configs with Groovy: A Practical Guide

This article walks through building a Groovy utility to parse Zookeeper XML configuration files—covering parsing methods, choosing DOM for small files, implementing a reusable XMLUtil class, and demonstrating the tool with sample code and console output screenshots.

ConfigurationDOM parsingGroovy
0 likes · 5 min read
How to Quickly Parse Zookeeper XML Configs with Groovy: A Practical Guide
FunTester
FunTester
Sep 18, 2020 · Backend Development

How to Tackle Common Groovy Pitfalls in IntelliJ IDEA

This guide explains why IntelliJ IDEA often misreports Groovy syntax, shows the three ways to access object properties, demonstrates generic method definitions, and clarifies the behavior of the 'it' keyword in nested loops, providing concrete code examples and practical work‑arounds.

GroovyIDE errorsIntelliJ IDEA
0 likes · 6 min read
How to Tackle Common Groovy Pitfalls in IntelliJ IDEA
FunTester
FunTester
Sep 2, 2020 · Backend Development

Mastering Spock: Groovy Unit Tests for JSON Utilities with Real Code Examples

This article extends the previous JsonPath utility guide by demonstrating how to write comprehensive Groovy‑based Spock unit tests, covering Maven/Gradle setup, basic and data‑driven demos, detailed test cases for JSON path extraction, array operations, statistical functions, and a deliberately introduced bug with its console output.

GroovyJSONSpock
0 likes · 7 min read
Mastering Spock: Groovy Unit Tests for JSON Utilities with Real Code Examples
FunTester
FunTester
Aug 31, 2020 · Backend Development

How to Build a Groovy‑Based JsonPath Utility Class

This article walks through the creation of a Groovy‑compatible JsonPath utility library, explaining its design, key methods for extracting various data types, a custom verification helper, and how to test it later with the Spock framework.

GroovyJsonPathSpock
0 likes · 6 min read
How to Build a Groovy‑Based JsonPath Utility Class
FunTester
FunTester
Aug 19, 2020 · Backend Development

How to Overload Groovy Operators for JSONPath Validation

The article explains how to use Groovy's operator‑overloading features to create a JSONPath‑style verification DSL, detailing which operators are implemented, the challenges with sign‑conversion operators, and providing a full example class with logging for each overloaded operator.

API testingDSLGroovy
0 likes · 5 min read
How to Overload Groovy Operators for JSONPath Validation
Youku Technology
Youku Technology
Aug 17, 2020 · Backend Development

Improving Development Efficiency with a Metadata Center: Architecture, Implementation, and Performance

The Metadata Center, built by Alibaba Entertainment, streamlines development by offering a searchable Data Source Plaza and a configurable Custom Interface engine that abstracts service calls, adds unified monitoring and circuit‑breaker safeguards, and leverages optimized scripting, cutting upfront coding effort and accelerating feature delivery across Youku applications.

GroovyService Integrationcircuit breaker
0 likes · 12 min read
Improving Development Efficiency with a Metadata Center: Architecture, Implementation, and Performance
Top Architect
Top Architect
Aug 6, 2020 · Backend Development

Generating JPA Entity Classes in IntelliJ IDEA Using Groovy Scripts

The article provides a step‑by‑step tutorial on configuring database connections in IntelliJ IDEA, using its built‑in tools to generate simple POJOs or JPA‑annotated entities, and creating a custom Groovy script to produce fully annotated Java entity classes directly from a database schema.

Entity GenerationGroovyIntelliJ IDEA
0 likes · 12 min read
Generating JPA Entity Classes in IntelliJ IDEA Using Groovy Scripts
FunTester
FunTester
Jul 19, 2020 · Operations

How to Build a Thread‑Safe Global Counter in JMeter with Groovy

This guide explains how to create a globally unique, auto‑incrementing variable in JMeter by using a synchronized Groovy script that leverages the built‑in props object, demonstrates setting an initial value, and compares locked versus unlocked execution results.

Global VariableGroovyJMeter
0 likes · 8 min read
How to Build a Thread‑Safe Global Counter in JMeter with Groovy
FunTester
FunTester
Jul 19, 2020 · Operations

Using Groovy in JMeter: Demos, Context Access, and Throughput Analysis

The author shares a series of JMeter demos that leverage Groovy for context access, variable handling, command execution, request manipulation, regex extraction, cookie and header processing, and throughput error analysis, while recommending thorough documentation review and community interaction to deepen JMeter expertise.

GroovyJMeterLoad Testing
0 likes · 4 min read
Using Groovy in JMeter: Demos, Context Access, and Throughput Analysis
FunTester
FunTester
Jul 12, 2020 · Fundamentals

Why My First Project’s Bugs Vanished Quickly: Code Standards and Testing Insights

The author shares a first‑hand account of a newly launched backend project, explaining how strict coding standards, Groovy‑Java mixed development, and a pragmatic testing strategy—including limited unit testing, interface checks, and annotation‑based validation—enabled rapid bug resolution and a smooth release.

GroovyTDDbackend-development
0 likes · 4 min read
Why My First Project’s Bugs Vanished Quickly: Code Standards and Testing Insights
FunTester
FunTester
May 10, 2020 · Backend Development

Master Spock & Mockito: Seamless Unit Testing with Gradle

This article introduces the Groovy‑based Spock framework and the Mockito mocking library, shows how to configure them together in Gradle, and provides detailed Groovy demo code illustrating various mocking, spying, verification, and exception‑handling techniques for robust Java unit testing.

GradleGroovyMockito
0 likes · 8 min read
Master Spock & Mockito: Seamless Unit Testing with Gradle
FunTester
FunTester
Apr 24, 2020 · Operations

How to Sign JMeter Parameters with Groovy: A Step‑by‑Step Guide

This article demonstrates how to use Groovy scripts within JMeter’s JSR223 pre‑processor to generate RSA‑based signatures for request parameters, providing a complete utility class, configuration steps, sample code, and console output to verify that the signature is correctly added to the request.

GroovyJMeterJSR223
0 likes · 10 min read
How to Sign JMeter Parameters with Groovy: A Step‑by‑Step Guide
FunTester
FunTester
Apr 21, 2020 · Backend Development

Understanding Groovy Closures: Definition, Usage, and List Operations

This article introduces Groovy closures, explaining their definition, implicit 'it' parameter, custom arguments, return behavior, and demonstrates how to assign, invoke, and pass closures to methods such as each() and findAll() for list processing, accompanied by practical code examples.

Groovyclosureslist processing
0 likes · 5 min read
Understanding Groovy Closures: Definition, Usage, and List Operations
FunTester
FunTester
Apr 21, 2020 · Fundamentals

Curated List of Groovy Tutorials and Resources

This article provides a curated collection of Groovy tutorials covering topics such as Java‑Groovy integration, stream‑based prime calculation, shell scripting, database operations with Gradle, Groovy Shell usage, operator overloading, JMeter scripting, regular expressions, tuples, lists, and advanced Gradle‑Groovy techniques.

GradleGroovyJMeter
0 likes · 4 min read
Curated List of Groovy Tutorials and Resources
58 Tech
58 Tech
Apr 20, 2020 · Operations

Comprehensive Guide to nGrinder: Architecture, Environment Setup, and Load‑Testing Process

This article introduces the powerful nGrinder load‑testing tool, explains its architecture and advantages over JMeter, walks through controller and agent deployment, script creation, data preparation, TPS control, parameterization, test execution, result analysis, and advanced features for building a stable, scalable distributed performance‑testing environment.

Distributed TestingGroovyLoad Testing
0 likes · 14 min read
Comprehensive Guide to nGrinder: Architecture, Environment Setup, and Load‑Testing Process
FunTester
FunTester
Apr 19, 2020 · Operations

How to Load Test Phone Number Binding with Dynamic UID‑Based Numbers

This article walks through the challenges of load‑testing a phone‑binding feature that swaps between two number prefixes while preserving the original UID‑derived number, detailing validation rules, a configurable solution, test design, and the full Groovy‑based load‑test script.

API automationGroovyLoad Testing
0 likes · 7 min read
How to Load Test Phone Number Binding with Dynamic UID‑Based Numbers
FunTester
FunTester
Apr 17, 2020 · Information Security

Using Groovy in JMeter to Sign Request Parameters with RSA

This article demonstrates how to use Groovy scripts within JMeter's JSR223 pre‑processor to generate RSA signatures for request parameters, covering key handling, encryption, decryption, signing, verification, map conversion, and how to attach the signature to the HTTP sampler for automated performance testing.

GroovyJMeterPerformance Testing
0 likes · 11 min read
Using Groovy in JMeter to Sign Request Parameters with RSA
DevOps Cloud Academy
DevOps Cloud Academy
Apr 15, 2020 · Operations

Common Jenkins Pipeline Debugging Issues and Their Solutions

This article compiles a series of frequent Jenkins pipeline problems—such as Git parameter handling, credential plaintext usage, Sonar scanning, JSON parsing, HTTP request handling, and build termination—and provides practical solutions, code snippets, and tips to help developers avoid pitfalls and streamline their CI/CD workflows.

DevOpsGroovyJenkins
0 likes · 7 min read
Common Jenkins Pipeline Debugging Issues and Their Solutions
FunTester
FunTester
Apr 15, 2020 · Fundamentals

Master Groovy List Operations: From Java to Powerful Scripting

This tutorial shows how to convert a Java class that filters names into concise Groovy scripts, demonstrates Groovy list literals, index access, and built‑in collection methods like each, any, every, find, and findAll, providing complete code examples.

Code ExampleGroovyList
0 likes · 5 min read
Master Groovy List Operations: From Java to Powerful Scripting
DevOps Cloud Academy
DevOps Cloud Academy
Apr 14, 2020 · Operations

Common Jenkins Pipeline Debugging Issues and Solutions

This article compiles a series of real-world Jenkins pipeline problems—ranging from Git parameter handling and credential usage to Sonar scanning, JSON parsing, and pipeline control—offering concise solutions and code snippets to help DevOps engineers avoid common pitfalls and streamline their CI/CD workflows.

DevOpsGroovyJenkins
0 likes · 7 min read
Common Jenkins Pipeline Debugging Issues and Solutions
FunTester
FunTester
Apr 12, 2020 · Fundamentals

Why Groovy’s null behaves differently from Java’s null – A deep dive

This article compares Java’s null, which throws NullPointerException on member access, with Groovy’s NullObject that safely handles method calls, explains the underlying implementation, demonstrates practical code examples, and shows how to customize NullObject behavior via metaClass extensions.

GroovyNullObjectjava
0 likes · 4 min read
Why Groovy’s null behaves differently from Java’s null – A deep dive
FunTester
FunTester
Mar 27, 2020 · Operations

Using Groovy in JMeter: Demos, Context Access, and Throughput Insights

The article shares a series of JMeter demos that leverage Groovy for accessing the test context, retrieving SampleResult and previous sampler data, discusses the limited usefulness of thread scheduling via Groovy, highlights a discovered throughput discrepancy, and provides practical advice and links to related technical resources.

GroovyJMeterLoad Testing
0 likes · 3 min read
Using Groovy in JMeter: Demos, Context Access, and Throughput Insights
FunTester
FunTester
Mar 24, 2020 · Operations

Master JMeter Header Manipulation with Groovy: A Step‑by‑Step Guide

This article compiles a series of JMeter tutorials and presents a detailed, code‑driven walkthrough for using Groovy to add, read, and modify HTTP headers via the HeaderManager and JSR223 pre‑processor, complete with screenshots and sample console output.

GroovyHeader ManagementJMeter
0 likes · 5 min read
Master JMeter Header Manipulation with Groovy: A Step‑by‑Step Guide
FunTester
FunTester
Mar 23, 2020 · Backend Development

Curated Collection of Java, Groovy, and Python Technical Articles

This article presents a curated list of technical resources covering Java, Groovy, and Python, including tutorials on concurrency, memory management, regular expressions, scripting, and performance optimization, each linked to detailed explanations and code examples.

GroovyPythonconcurrency
0 likes · 9 min read
Curated Collection of Java, Groovy, and Python Technical Articles
FunTester
FunTester
Mar 22, 2020 · Operations

Using Groovy to Manage Cookies in JMeter: A Step‑by‑Step Guide

This article provides a comprehensive tutorial on handling HTTP cookies in JMeter using Groovy scripts, covering the creation and configuration of CookieManager, adding and modifying cookies, executing JSR223 pre‑processors, and interpreting console output, supplemented with code examples and screenshots.

CookieManagerGroovyJMeter
0 likes · 5 min read
Using Groovy to Manage Cookies in JMeter: A Step‑by‑Step Guide
FunTester
FunTester
Mar 15, 2020 · Backend Development

Curated Collection of Java, Groovy, and Python Articles

This curated collection presents dozens of Chinese-language articles covering Java, Groovy, and Python topics such as concurrency, performance optimization, regular expressions, JMeter scripting, and algorithmic challenges, providing links to in-depth tutorials and code examples for developers seeking to deepen their programming expertise.

AlgorithmsGroovyPython
0 likes · 9 min read
Curated Collection of Java, Groovy, and Python Articles
FunTester
FunTester
Mar 13, 2020 · Operations

Using Groovy Regular Expressions in JMeter for Performance Testing

This article demonstrates how to apply Groovy regular expressions within JMeter to extract fields from API responses, showing step‑by‑step configuration of a thread group, JSR223 post‑processor script, and variable handling for performance testing.

GroovyJMeterPerformance Testing
0 likes · 7 min read
Using Groovy Regular Expressions in JMeter for Performance Testing
FunTester
FunTester
Mar 11, 2020 · Fundamentals

Step‑by‑Step Evolution of a Hello World Program from Java to Groovy

This tutorial demonstrates how a simple Java Hello World class can be progressively transformed into idiomatic Groovy code, covering eight evolution stages that introduce Groovy’s syntax shortcuts, GString interpolation, dynamic typing, and script‑style execution while preserving the original program logic.

GroovyHello WorldTutorial
0 likes · 8 min read
Step‑by‑Step Evolution of a Hello World Program from Java to Groovy
FunTester
FunTester
Mar 9, 2020 · Fundamentals

Mastering Groovy Tuples: Immutable Collections and Practical Examples

This article explains Groovy's immutable Tuple classes, shows how to create and use Tuple, Tuple2, Tuple3, and demonstrates their read‑only behavior with practical code examples, highlighting why they are ideal for returning multiple values from methods.

BackendGroovyImmutable
0 likes · 4 min read
Mastering Groovy Tuples: Immutable Collections and Practical Examples
FunTester
FunTester
Mar 8, 2020 · Backend Development

Using Regular Expressions in Java and Groovy for Web Crawling

This article explains how regular expressions can be applied in Java and Groovy to extract information from JSON and HTML responses during web crawling, provides a reusable Java Regex utility class, demonstrates Groovy-specific regex operators, and shows sample code and console output.

Groovyjavaregex
0 likes · 6 min read
Using Regular Expressions in Java and Groovy for Web Crawling
FunTester
FunTester
Mar 7, 2020 · Operations

Using Groovy in JMeter to Log and Save Request/Response Data

This guide demonstrates how to add a JSR223 PostProcessor with Groovy in Apache JMeter to capture slow requests, write request parameters and responses to a log file, and control pagination for automated performance testing, providing complete script examples and console output.

File LoggingGroovyJMeter
0 likes · 7 min read
Using Groovy in JMeter to Log and Save Request/Response Data
FunTester
FunTester
Mar 6, 2020 · Operations

Using Groovy in JMeter to Modify Request Parameters

This tutorial explains how to employ Groovy scripts within JMeter to dynamically modify request parameters, covering setup of a thread group, adding a JSR223 PreProcessor, example code, console output verification, and result tree inspection for GET and POST requests.

GroovyJMeterPerformance Testing
0 likes · 5 min read
Using Groovy in JMeter to Modify Request Parameters
FunTester
FunTester
Mar 5, 2020 · Operations

Running Command-Line Commands in JMeter Using Groovy

This article demonstrates how to execute operating‑system commands from a Groovy script inside JMeter’s JSR223 PreProcessor, showing the required test plan setup, the Groovy code, and the resulting console output for performance testing purposes.

GroovyJMeterJSR223
0 likes · 7 min read
Running Command-Line Commands in JMeter Using Groovy
DevOps Cloud Academy
DevOps Cloud Academy
Mar 4, 2020 · Cloud Native

Configuring Docker Cloud in Jenkins with Groovy Scripts

This tutorial walks through using Groovy code to set up Docker Cloud in Jenkins, detailing class imports, parameter maps, template creation, cloud configuration, and an alternative JNLP‑based example for advanced container launch strategies.

Cloud NativeDocker PluginGroovy
0 likes · 5 min read
Configuring Docker Cloud in Jenkins with Groovy Scripts
FunTester
FunTester
Mar 4, 2020 · Operations

Mastering JMeter Variables with Groovy: Private vs Shared Scope

This tutorial shows how to use Groovy scripts inside JMeter to set and retrieve both thread‑local (private) and thread‑shared (global) variables, providing step‑by‑step configuration, code snippets, and sample console output for each case.

GroovyJMeterLoad Testing
0 likes · 5 min read
Mastering JMeter Variables with Groovy: Private vs Shared Scope
DevOps Cloud Academy
DevOps Cloud Academy
Feb 22, 2020 · Operations

Why Use Shared Libraries in Jenkins Pipelines?

The article explains that shared libraries, a familiar concept from languages like Python, are implemented in Jenkins as Groovy classes containing methods, helping to centralize pipeline code, avoid bloated Jenkinsfiles, and improve maintainability, while also promoting a live broadcast and group chat.

DevOpsGroovyJenkins
0 likes · 3 min read
Why Use Shared Libraries in Jenkins Pipelines?
DevOps Cloud Academy
DevOps Cloud Academy
Feb 19, 2020 · Operations

Why Use Shared Libraries in Jenkins Pipelines?

The article explains the concept of shared libraries, compares them to Python modules, describes how Jenkins Groovy shared libraries store classes and methods, and discusses their role in simplifying and standardizing pipeline code to avoid overly complex Jenkinsfiles.

GroovyJenkinsPipeline
0 likes · 2 min read
Why Use Shared Libraries in Jenkins Pipelines?
DevOps Cloud Academy
DevOps Cloud Academy
Feb 19, 2020 · Operations

Why Use Shared Libraries in Jenkins Pipelines?

The article explains the concept of shared libraries, compares them to Python modules, describes how Jenkins uses Groovy classes for reusable pipeline code, and highlights their role in simplifying and standardizing Jenkinsfile management while also promoting an upcoming live event.

DevOpsGroovyJenkins
0 likes · 2 min read
Why Use Shared Libraries in Jenkins Pipelines?
FunTester
FunTester
Feb 19, 2020 · Operations

Turning Raw Performance Test Logs into Readable Text Charts with Groovy

This article explains how to replace cumbersome Python‑Plotly visualizations of performance test logs with a lightweight Groovy solution that generates plain‑text bar charts directly in the shell or email, using Unicode block characters and a bucket‑based median algorithm.

GroovyPerformance TestingShell
0 likes · 6 min read
Turning Raw Performance Test Logs into Readable Text Charts with Groovy
DevOps Cloud Academy
DevOps Cloud Academy
Feb 10, 2020 · Operations

Jenkinsfile Pipeline Development Tools: Snippet Generator, Declarative Syntax Generator, Global Variables, and Common Pipeline Methods

This guide introduces Jenkinsfile pipeline development utilities, covering a snippet generator, declarative syntax generator, essential global variables, and frequently used pipeline methods such as JSON handling, credential usage, source checkout, HTML reporting, interactive input, build user identification, and HTTP requests.

DevOpsGroovyJenkins
0 likes · 4 min read
Jenkinsfile Pipeline Development Tools: Snippet Generator, Declarative Syntax Generator, Global Variables, and Common Pipeline Methods
FunTester
FunTester
Jan 18, 2020 · Operations

Business Validation Demo for Like/Unlike API in Performance Testing

The article demonstrates how to perform business‑level validation of a resource's like/unlike API during performance testing, including Java methods for the operations, a Groovy load‑testing script, and explanations of error handling within the testing framework.

API ValidationGroovyjava
0 likes · 6 min read
Business Validation Demo for Like/Unlike API in Performance Testing
FunTester
FunTester
Jan 8, 2020 · Fundamentals

Demonstrating Operator Overloading in Groovy with Java-Compatible Code

This article demonstrates Groovy's operator overloading capabilities through Java-compatible code examples, including arithmetic, shift, and increment operators, shows console output, integrates a performance‑testing thread multiplication demo, and highlights Groovy's ability to overload even the dot operator.

GroovyPerformance Testingdemo
0 likes · 7 min read
Demonstrating Operator Overloading in Groovy with Java-Compatible Code
DevOps Cloud Academy
DevOps Cloud Academy
Jan 1, 2020 · Operations

Jenkins Pipeline Best Practices: Do’s and Don’ts

This article outlines essential Jenkins Pipeline best practices, including using the official Pipeline plugin, treating pipelines as code, organizing work into stages and nodes, leveraging parallel execution, handling inputs with timeouts, and preferring stash over archive for artifact management.

DevOpsGroovyJenkins
0 likes · 7 min read
Jenkins Pipeline Best Practices: Do’s and Don’ts
DevOps Cloud Academy
DevOps Cloud Academy
Dec 22, 2019 · Operations

Using Jenkins Pipeline Plugins: readJSON, withCredentials, checkout, publishHTML, input, BuildUser, and httpRequest

This guide demonstrates how to use several Jenkins Pipeline plugins—including readJSON, withCredentials, checkout, publishHTML, input, BuildUser, and httpRequest—to handle JSON data, manage credentials, retrieve source code, publish HTML reports, interactively collect input, obtain build user information, and perform HTTP requests within a CI/CD workflow.

DevOpsGroovyJenkins
0 likes · 4 min read
Using Jenkins Pipeline Plugins: readJSON, withCredentials, checkout, publishHTML, input, BuildUser, and httpRequest
FunTester
FunTester
Dec 12, 2019 · Backend Development

Why Gradle Beats Maven for Complex Java Projects: A Deep Dive

This article compares Gradle and Maven, explains Gradle's advantages for large Java projects, introduces Groovy's benefits, walks through a complete build.gradle example, covers closures, dependency configurations, the Gradle wrapper, and essential tasks, providing practical code snippets and usage tips.

GradleGradle WrapperGroovy
0 likes · 16 min read
Why Gradle Beats Maven for Complex Java Projects: A Deep Dive
DevOps Cloud Academy
DevOps Cloud Academy
Nov 24, 2019 · Operations

Implementing Automated Interface Testing with Jenkins, JMeter, and Groovy to Identify and Count False Positives

This guide explains how to build an automated interface‑testing pipeline using Jenkins, Ant, JMeter and Groovy, generate test reports, filter out false‑positive failures caused by network or environment issues, let users confirm them in Jenkins, and recalculate success, failure and false‑positive rates.

Automated TestingGroovyJMeter
0 likes · 8 min read
Implementing Automated Interface Testing with Jenkins, JMeter, and Groovy to Identify and Count False Positives
FunTester
FunTester
Nov 22, 2019 · Backend Development

Getting Started with Groovy Shell: Tips, Commands, and Use Cases

This article introduces Groovy Shell, explains how to launch it, demonstrates basic commands, variable handling, closures, Windows-specific tips, arithmetic with BigInteger, and showcases its usefulness for rapid prototyping and testing in backend development.

GroovyScriptingShell
0 likes · 6 min read
Getting Started with Groovy Shell: Tips, Commands, and Use Cases
FunTester
FunTester
Nov 19, 2019 · Backend Development

Why Skipping Unit Tests Costs More: Java and Groovy Examples

The article explains why many developers avoid unit testing despite its importance, demonstrates a Java method for filtering unpromised tools in a home‑renovation app, provides complete JUnit and Groovy/Spock test implementations, and shows how richer output from Groovy/Spock can speed debugging.

GroovyJUnitMockito
0 likes · 10 min read
Why Skipping Unit Tests Costs More: Java and Groovy Examples
FunTester
FunTester
Nov 17, 2019 · Backend Development

Advanced Spock Framework Usage with Groovy Data‑Driven Tests

This article demonstrates how to extend basic Spock usage by applying Groovy‑based helper methods, data‑driven testing, and advanced language features within a mixed Java‑Groovy project, while also addressing common pitfalls and providing complete example code.

Data‑Driven TestingGroovyjava
0 likes · 7 min read
Advanced Spock Framework Usage with Groovy Data‑Driven Tests
FunTester
FunTester
Nov 16, 2019 · Backend Development

Using Groovy and Gradle for Configuration Synchronization and Database Integration

This article explains how Groovy, combined with Gradle, can serve as a native application server to synchronize environment‑specific property files with a MySQL registry, demonstrating practical build‑script configuration, file‑system traversal, and Groovy‑SQL database operations for robust CI/CD workflows.

Build AutomationConfiguration ManagementGradle
0 likes · 9 min read
Using Groovy and Gradle for Configuration Synchronization and Database Integration
FunTester
FunTester
Nov 13, 2019 · Backend Development

Mastering Spock: Practical Unit Test Examples in Groovy

This article introduces the versatile Spock testing framework, explains why it’s favored for Groovy projects despite compatibility quirks, and provides a collection of runnable demo specs that showcase Spock’s expressive syntax, data‑driven testing, and detailed reporting.

GroovySpockjava
0 likes · 5 min read
Mastering Spock: Practical Unit Test Examples in Groovy
DevOps Cloud Academy
DevOps Cloud Academy
Nov 7, 2019 · Operations

A Definitive Guide to Jenkins Pipeline Environment Variables

This article provides a comprehensive tutorial on using Jenkins Pipeline environment variables, covering how to list, read, set, override, store boolean values, and capture shell command output, complete with practical Groovy code examples for CI/CD workflows.

DevOpsEnvironment VariablesGroovy
0 likes · 7 min read
A Definitive Guide to Jenkins Pipeline Environment Variables
FunTester
FunTester
Oct 24, 2019 · Backend Development

Executing Groovy Test Scripts Dynamically from Java: A Practical Guide

This article explains how to build a Java wrapper that loads and runs Groovy test scripts at runtime, covering classloader nuances, reflection-like execution, file discovery, method filtering, and provides a complete code example for a custom test framework.

GroovyReflectionclassloader
0 likes · 6 min read
Executing Groovy Test Scripts Dynamically from Java: A Practical Guide
FunTester
FunTester
Oct 22, 2019 · Backend Development

How to Scrape 7.2 Million Historical Weather Records with Groovy

This article explains how to use a Groovy script to crawl over 7 million historical weather entries for 3,200 cities spanning 2011‑2019, process the JSON responses, and store the cleaned data into a MySQL table, while sharing practical tips and code snippets.

GroovyWeather DataWeb Scraping
0 likes · 7 min read
How to Scrape 7.2 Million Historical Weather Records with Groovy
FunTester
FunTester
Oct 10, 2019 · Operations

How to Safely Clean Up Old Webapp Directories with a Groovy CI Script

This article explains how to write a Groovy script for a CI pipeline that lists webapp directories on a Linux server, keeps the newest four, sorts them by modification time, and deletes the older ones using sudo to overcome permission issues, complete with full source code.

CIFile CleanupGroovy
0 likes · 5 min read
How to Safely Clean Up Old Webapp Directories with a Groovy CI Script
FunTester
FunTester
Oct 9, 2019 · Backend Development

How to Build a Java/Groovy Web Crawler with Regex and MySQL Storage

This article demonstrates a Java‑based web crawler written in Groovy that uses regular‑expression parsing to retrieve paginated company data from a government portal, constructs SQL insert statements, and stores the results in MySQL, with full source code and structural screenshots.

Data ExtractionGroovyWeb Crawler
0 likes · 6 min read
How to Build a Java/Groovy Web Crawler with Regex and MySQL Storage
21CTO
21CTO
Sep 7, 2019 · Fundamentals

Which 5 Programming Languages Are Poised to Surge in the Coming Years?

Based on Dice Insights’ analysis of TIOBE, RedMonk and internal hiring data, this article highlights five programming languages—Swift, Kotlin, Python, Groovy, and TypeScript—that are expected to experience rapid growth in the coming years, explaining the reasons behind each trend.

GroovyKotlinLanguage Trends
0 likes · 6 min read
Which 5 Programming Languages Are Poised to Surge in the Coming Years?
FunTester
FunTester
Sep 2, 2019 · Backend Development

Build a Static Blog with Moco API in Just 5 Lines of Groovy

This tutorial shows how to use the Moco API framework with a concise Groovy script—just five lines of code—to set up a mock server that serves a static blog, covering server configuration, URL redirection, mounting of static resources, and a simple wait loop for termination.

GroovyMoCoMock Server
0 likes · 3 min read
Build a Static Blog with Moco API in Just 5 Lines of Groovy
FunTester
FunTester
Aug 20, 2019 · Backend Development

How to Use Groovy with a Custom Java HTTP Testing Framework

This tutorial shows how to package a Java‑based HTTP testing framework into a JAR, import it into Groovy, and write a concise Groovy script that sends an HTTP GET request, processes the JSON response, and prints the result.

API automationGroovyHTTP testing
0 likes · 3 min read
How to Use Groovy with a Custom Java HTTP Testing Framework
FunTester
FunTester
Aug 12, 2019 · Backend Development

Why Java‑Groovy Builds Fail on Jenkins and How to Fix Them

The author encountered a "cannot find symbol" error when Java and Groovy code called each other, which worked locally but broke on Jenkins and Gradle builds, and solved it by renaming the file to .groovy and adding the Groovy plugin so Groovy compiles before Java.

Build ErrorGradleGroovy
0 likes · 2 min read
Why Java‑Groovy Builds Fail on Jenkins and How to Fix Them
FunTester
FunTester
Aug 11, 2019 · Backend Development

How to Fix JSON Parameter Extraction in Moco API Mocking for POST Requests

This article explains why the default Moco example fails to extract JSON parameters from POST requests, walks through the source inspection that reveals the limitation, and provides a custom JsonExtractor implementation with Groovy helper methods to correctly match JSON payloads.

API mockingBackend testingGroovy
0 likes · 4 min read
How to Fix JSON Parameter Extraction in Moco API Mocking for POST Requests
FunTester
FunTester
Jul 26, 2019 · Backend Development

How to Package a Mixed Java‑Groovy Maven Project in IntelliJ

This guide explains how to transition from Gradle to Maven for a Java‑Groovy mixed project, covering folder renaming, essential Maven dependencies and plugins, manifest configuration, and a note on optional local‑jar settings to successfully build an executable JAR in IntelliJ.

GroovyIntelliJJar packaging
0 likes · 6 min read
How to Package a Mixed Java‑Groovy Maven Project in IntelliJ
FunTester
FunTester
Jul 24, 2019 · Backend Development

Method‑Based Multithreaded Performance Testing Framework in Java

The article describes a Java performance testing framework that was refactored from a request‑based to a method‑based design, introducing a ThreadBase class and specialized adapters for HTTP requests, database queries, and concurrent execution, and discusses the advantages of code‑based concurrency and Groovy.

GroovyHTTPPerformance Testing
0 likes · 12 min read
Method‑Based Multithreaded Performance Testing Framework in Java
FunTester
FunTester
Jul 24, 2019 · Operations

Configurable Load Testing on a Linux Server Using Java and Groovy

The article explains two approaches for flexible performance testing on a head‑only Linux server—one using configuration files to assemble requests and another using Groovy scripts—detailing code implementations, command‑line execution, and deployment steps.

GroovyLinuxLoad Testing
0 likes · 7 min read
Configurable Load Testing on a Linux Server Using Java and Groovy
FunTester
FunTester
Jul 24, 2019 · Backend Development

Groovy‑Based Automated API Testing Framework for Password Modification

This article presents a Groovy‑driven, modular API testing framework that automates login, token handling, and password‑change requests using multithreaded execution, and includes full source code for the test driver, UserCenter, and OkayBase classes.

API testingBackendGroovy
0 likes · 5 min read
Groovy‑Based Automated API Testing Framework for Password Modification
FunTester
FunTester
Jul 23, 2019 · Operations

Automating Complex API Tests with Groovy: A Modular Script Framework

This article presents a Groovy‑based modular framework for automating complex, interrelated API tests, detailing how to structure test modules, manage user credentials and tokens, and execute concurrent requests using custom thread handling, with full source code examples for the main driver, UserCenter, and base classes.

API testingGroovyScripting
0 likes · 7 min read
Automating Complex API Tests with Groovy: A Modular Script Framework
FunTester
FunTester
Jul 17, 2019 · Backend Development

Implementing a Cycle ResponseHandler in Moco for Repeating Requests

This article explains how to create a custom CycleHandle response handler for the Moco framework, providing full Java source code and Groovy usage examples to enable cyclic responses in scenarios such as order submission or resource deletion.

CycleGroovyMoCo
0 likes · 5 min read
Implementing a Cycle ResponseHandler in Moco for Repeating Requests
FunTester
FunTester
Jul 17, 2019 · Backend Development

Fixing Moco API POST JSON Parameter Extraction with a Custom JsonExtractor

When using Moco API for interface virtualization, the default extractor cannot handle POST requests with JSON bodies, so a custom JsonExtractor is created to read the request content, parse the JSON, and return the desired parameter value.

API mockingGroovyHttpRequestExtractor
0 likes · 4 min read
Fixing Moco API POST JSON Parameter Extraction with a Custom JsonExtractor
FunTester
FunTester
Jul 14, 2019 · Fundamentals

Create a Simple Groovy TimeWatch for Accurate Performance Timing

This article introduces a lightweight Groovy TimeWatch utility that lets developers record execution times with customizable markers, offering both millisecond and nanosecond precision, and explains its implementation, usage, and future multithreading considerations.

Code ExampleGroovyPerformance Testing
0 likes · 6 min read
Create a Simple Groovy TimeWatch for Accurate Performance Timing
FunTester
FunTester
Jul 10, 2019 · Backend Development

Implementing a Custom Cycle ResponseHandler in Moco for Repeated Requests

This article explains how to create a custom CycleHandle response handler for the Moco framework to simulate repeated responses, provides the full Java implementation, demonstrates Groovy helper methods for easy usage, and briefly discusses Groovy's JVM compatibility advantages.

CycleGroovyMoCo
0 likes · 5 min read
Implementing a Custom Cycle ResponseHandler in Moco for Repeated Requests
FunTester
FunTester
Jul 9, 2019 · Backend Development

Mocking POST JSON Requests with Moco: A Custom JsonExtractor Guide

When using Moco API for request virtualization, the default extractor cannot handle POST JSON bodies, so this article shows how to implement a custom JsonExtractor in Java and use Groovy matchers to verify JSON parameters effectively.

API mockingGroovyJSON
0 likes · 5 min read
Mocking POST JSON Requests with Moco: A Custom JsonExtractor Guide
Programmer DD
Programmer DD
Feb 11, 2019 · Backend Development

Why Groovy Is Making a Comeback in the Top 20 Programming Languages

Groovy, a dynamic JVM language praised for its concise syntax and powerful features like closures, has re‑entered the TIOBE Top 20 thanks to its role in Jenkins and Gradle, offering Java developers a compelling boost to Spring Boot productivity.

Dynamic LanguageGradleGroovy
0 likes · 4 min read
Why Groovy Is Making a Comeback in the Top 20 Programming Languages
Youzan Coder
Youzan Coder
Dec 10, 2018 · Backend Development

How Youzan Scaled Order Export to Millions with ES, HBase, and Config‑Driven Design

This article examines the challenges of Youzan's order export system, describes the migration from PHP‑based scripts to an Elasticsearch and HBase stack, and details the step‑by‑step configuration‑driven refactor—including enum field definitions, Groovy scripts, strategy patterns, plugin architecture, and quality‑assurance practices—that enabled million‑order exports with high performance and stability.

Backend ArchitectureConfigurationElasticsearch
0 likes · 13 min read
How Youzan Scaled Order Export to Millions with ES, HBase, and Config‑Driven Design
Programmer DD
Programmer DD
Sep 30, 2018 · Backend Development

How to Dynamically Load Groovy Beans into Spring at Runtime

This article explains how to use Spring to hot‑load Groovy scripts stored in a database as beans, enabling on‑the‑fly data source access, RPC calls, and dependency injection without restarting the Java application.

BackendBean RegistrationDynamic Loading
0 likes · 6 min read
How to Dynamically Load Groovy Beans into Spring at Runtime