Menu

My First Contribution to Zerocode: Building a Configurable Delay Executor,I Fixed the Code, But Who's Going to Fix My Sleep Schedule? 💀
📰

My First Contribution to Zerocode: Building a Configurable Delay Executor,I Fixed the Code, But Who's Going to Fix My Sleep Schedule? 💀

DEV Community: java·Shitanshu Jha·4 days ago
#JflS8ztI
#devtojava#devto#dev#delay#executor
Reading 0:00
15s threshold

Writing

My First Contribution to Zerocode: Building a Configurable Delay Executor

Introduction

My open-source journey with Zerocode became a practical learning experience when I started working on Issue #810 — Configurable Delay Executor.

Instead of simply writing a delay using Thread.sleep(), the challenge was to understand how Zerocode handles API execution internally and integrate a dedicated delay executor into its existing architecture.

I spent approximately 6–7 hours understanding the codebase, implementing the feature, debugging integration points, writing tests, and verifying the final implementation.

The Problem

The requirement was to introduce a configurable delay mechanism that could be used directly inside Zerocode test scenarios.

A test scenario should be able to request a delay in milliseconds without requiring an external API.

For example:

{

"name": "wait_for_100_ms",

"url": "util://DelayExecutor",

"operation": "DELAY",

"request": 100,

"assertions": {

"status":…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.