Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zerocode-tdd is a community-developed, free, open-source, automated testing lib for microservices APIs, Kafka(Data Streams), Databases and Load testing. It enables you to create executable automated test scenarios via simple JSON or YAML — no coding required.

License

NotificationsYou must be signed in to change notification settings

authorjapps/zerocode

Zerocode Zerocode

A no-code automated testing framework for Data streams(Kafka), microservices APIs, and databases using JSON.

APIPerformance TestingKafka Testing

Latest release:🏹Maven
CI Testing:example workflow
Issue Discussions:Slack
Mailing List:Mailing List
License:Apache 2.0

Zerocode makes it easy to create and maintain automated tests with absolute minimum overhead forREST,SOAP,Kafka Real Time Data Streams and much more.It has the best of best ideas and practices from the community to keep it super simple, and the adoption is rapidly growing among the developers & testers community.

Documentation

Visit here :

  • Documentation - Indexed & instantly finds you the results
  • Want to amend or improve any documentation? Steps and guidelines arehere

IDE Support By

Jetbrains IDE

Maven Dependency

Introduction

Zerocode is a modern, lightweight, and extensible open-source framework designed for writing executable test scenarios using simple JSON or YAML formats. It supports both declarative configuration and automation, making it user-friendly and efficient.

In essence, Zerocode simplifies the complexities of modern API and data-streaming automation, including Kafka. The framework seamlessly handles response validations, target API invocations, load/stress testing, and security testing, all through straightforward YAML/JSON/Fluent steps.

For example, if your REST API URLhttps://localhost:8080/api/v1/customers/123 withGET method and"Content-Type": "application/json" returns the following payload and ahttp status code200(OK) ,

Response:{"id":123,"type":"Premium High Value","addresses":[{"type":"home","line1":"10 Random St"}]}

then, we can easily validate the above API usingZerocode like below.

  • Using JSON
{"url":"api/v1/customers/123","method":"GET","request": {"headers": {"Content-Type":"application/json"    }  },"retry": {"max":3,"delay":1000  },"verify": {"status":200,"headers": {"Content-Type" : ["application/json; charset=utf-8" ]    },"body": {"id":123,"type":"Premium Visa","addresses": [        {"type":"Billing","line1":"10 Random St"        }      ]    }      },"verifyMode":"LENIENT"}
  • or Using YAML
---url:api/v1/customers/123method:GETrequest:headers:Content-Type:application/jsonretry:max:3delay:1000verify:status:200headers:Content-Type:    -application/json; charset=utf-8body:id:123type:Premium Visaaddresses:    -type:Billingline1:10 Random StverifyMode:LENIENT

The beauty here is, we can use the payload/headers structure for validation as it is without any manipulationoruse a flat JSON path to skip the hassles of the entire object hierarchies.

Looks simple & easy? Why not give it a try? Visit thequick-start guideoruser's guide to check out more scenarios.

Zerocode-TDD is used by many companies such as Vocalink, HSBC, HomeOffice(Gov) andmany others to achieve accurate production drop of their micro-services, data-pipelines etc.

Also, learn more aboutValidators Vs Matchers here.

Happy Testing! 🐼

🔆 VisitDocumentation - Indexed, searchable & instantly finds you the results

About

zerocode-tdd is a community-developed, free, open-source, automated testing lib for microservices APIs, Kafka(Data Streams), Databases and Load testing. It enables you to create executable automated test scenarios via simple JSON or YAML — no coding required.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    Languages


    [8]ページ先頭

    ©2009-2025 Movatter.jp