Distributed API and Event Contract Testing Platform

Build exact-version HTTP and event contract evidence, gate a local three-service release and verify delivery separately.

QA Automation Engineer. Advanced.

What you will build and explain

  • Generate contracts from actual clients and handlers
  • Verify independent providers and complete exact-version evidence
  • Explain pending policy and compatible migration order
  • Observe actual runtime before deployment records
  • Diagnose and clean up owned local resources

Before you begin

  • TypeScript functions and async/await
  • API tests/assertions/test doubles
  • HTTP and JSON
  • Git and a POSIX terminal
  • Small Docker Compose applications

Curriculum

Learning topics (15)
  1. Architecture

    This design turns Harborlane's release question into evidence about specific application versions and two declared integrations. Checkout consumes Pricing over HTTP. Fulfilment consumes the event Checkout produces. Their tests publish contracts and real verification results to Pact Broker. A local host driver checks that evidence before replacing an application in hlct_<id>-release.

  2. Check your starting skills and prepare a private local lab

    Before building a compatibility platform, make sure you can separate a test failure from a host/setup problem. This lesson identifies the skills you bring, the tools the project supplies and the checks that keep you in your own lab. You do not need previous Pact, RabbitMQ or Python programming experience.

  3. Decide what a contract test can establish

    Pricing's unit tests can pass while Checkout breaks. Your goal here is to pick the right evidence for an interface change, without claiming that one test layer proves the whole distributed system. Bring your existing knowledge of assertions and test doubles; prerequisites separates those from setup.

  4. Separate HTTP clients, message handlers and transport adapters

    If a test can call only a running service, it needs all that service's dependencies before it can explain one interface decision. This lesson shows how the small TypeScript services expose useful test boundaries while keeping the runtime path real. You should be comfortable with functions and async/await.

  5. Derive HTTP contracts from the real pricing client

    A provider can return valid JSON that its caller cannot use. In this lesson you will turn Checkout's actual interpretation of a quote into executable HTTP expectations. You need to read a small TypeScript function and distinguish an HTTP status from a JSON field; service boundaries introduces the functions involved.

  6. Verify the pricing provider with independent states

    A quote-exists interaction passing before a quote-missing interaction should not change the second result. You will explain how provider states make each interaction independent, then identify what a native verification failure means. Read HTTP consumer contracts first.

  7. Test the order event at its producer and consumer

    A message can be valid JSON yet unusable to its handler. Your task is to specify the accepted-order message Fulfilment actually consumes, then verify Checkout's producer without depending on a running queue. Service boundaries and provider states supply the starting concepts.

  8. Publish contracts and results with exact application identities

    A passing result for "latest" cannot tell you whether a different image is compatible. You will separate contract content, consumer/provider versions and observed deployments, then trace how this lab gives each artifact an exact identity. First understand HTTP and message verification.

  9. Verify deployed consumers while a new contract is pending

    C1 starts asking for total_minor before P0 supports it. Should that new request stop every unchanged provider build, or should C1 be allowed into the environment? Those are different decisions. This lesson explains branch selection and pending pacts without treating a green provider process as consumer approval. First read exact identities.

  10. Make a release decision from complete compatibility evidence

    A matrix containing one successful result can look reassuring while the event edge is absent. You will explain why a useful release gate needs an independent graph, exact identities and a trustworthy target, then reason about interruption between runtime and metadata writes. Start with Broker identity and pending policy.

  11. Rehearse an additive migration and a blocked rollback

    A rollback is a new deployment into the current environment, not a guarantee that old code still works. Your goal is to derive a safe field migration and return path from exact compatibility evidence. Read complete gates first; the commands belong in the canonical optional exercise.

  12. Check delivery through RabbitMQ separately from message contracts

    A message contract can pass while an order is unroutable. This lesson follows an accepted-order message through RabbitMQ and identifies the separate evidence for routing, publisher acceptance and handler completion. Start with event contracts; you do not need prior AMQP experience.

  13. Run isolated CI checks and explain the evidence behind a failure

    A green job is useful only if you know which source, boundaries and outcomes it checked. This lesson connects the local acceptance runner to optional GitHub Actions and shows how to classify a failure without leaking private state. You should understand exact identity, gates and transport.

  14. Canonical local deployment instructions

    The first run builds P0 Pricing, C0 Checkout and F0 Fulfilment, proves their two contracts, then observes an order through RabbitMQ. Cleanup follows the result immediately. Read a milestone before executing its commands. Stop on a nonzero exit or an unexpected target; printing JSON is not itself success.

  15. Owned resource cleanup

    Run cleanup immediately after the bounded verification, or after partial setup when abandoning a run. It destroys this lab's Broker metadata and queue data; there is no recovery of those volumes after deletion. Keep Docker running and the marked private directory available until the driver finishes ownership checks.

Practical build steps (7)
  1. Prepare an owned native workspace

    Install/check the host tools and preserve every native input. The next milestone creates private lab state; this one must finish before any secrets exist.

  2. Start private metadata and transport

    Generate one fresh lab identity, then start Broker/PostgreSQL and RabbitMQ. The applications remain absent until their immutable artifacts and contracts are ready.

  3. Build the three baseline artifacts

    Turn the baseline aliases into images with exact source/payload identities. Preserve the source while building so every artifact belongs to the same intended snapshot.

  4. Publish and verify both contracts

    Exercise the actual consumer functions, publish their expectations, then verify each actual provider. Neither a hand-written JSON document nor a provider process alone supplies the complete graph.

  5. Gate and deploy the exact tuple

    Combine required-graph evidence with exact matrix/CLI approval, then let the locked host driver replace the apps and record their observed deployment.

  6. Inspect delivery and export evidence

    Inspect the runtime result independently of compatibility and save selected evidence before destruction. This is the last running milestone; cleanup comes next.

  7. Destroy and verify owned state

    Remove the owned lab, retain selected evidence and confirm absence without disturbing shared Docker work. Cleanup is reachable after partial setup as well as after a successful release.

Access

Learning Access: INR 199 plus 18% GST. Source Pack: INR 399 plus 18% GST. 90 days of online access. No auto-renewal.

Cloud costs and boundaries

Local disk/downloads and optional CI minutes/storage can cost money. No cloud account or paid hosted service is required.

Licence and completion

Personal learning, modification, deployment and attributed portfolio/interview demos are permitted. Permissions for lawfully obtained copies continue after online access expires. No source redistribution; commercial/client production use needs written permission. Third-party licences apply separately.

Questions about projects

Do I need a cloud account?

You can read the project material without deploying it. Running a cloud build requires the accounts, permissions and tools listed in that project's prerequisites. Deployment runs in your environment, not in a hosted Vectametric lab.

Can I read the code with Learning Access?

Yes. Learning Access includes the online source-file browser and explanations. The Source Pack adds the downloadable reference repository where available. The project's licence governs use of the source.

Are cloud charges included?

No. Cloud and CI usage are separate. Read the project's cost notice, set a budget and stop deadline, and follow its destruction and leftover-resource checks.

Does the project include troubleshooting and interview preparation?

The project curriculum lists the available scenarios and interview topics. These focus on understanding the architecture and explaining decisions; they are not a promise of particular interview questions or a job.

How long can I use the project?

The project page and checkout show the online access period for your selected plan. Access does not auto-renew. Downloaded source remains subject to its licence; future releases are not automatically included.

Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy