pact-mock_service - Provides a mock service for use with Pact

  •        44

This codebase provides the HTTP mock and stub service used by implementations of Pact. It is packaged as a gem, and as a standalone executable for Mac OSX and Linux and Windows. All requests to the "administration" endpoints listed above must contain the header X-Pact-Mock-Service: true to allow the mock service to know whether the request is an administration request or a request from the actual consumer code.

https://github.com/pact-foundation/pact-mock_service

Tags
Implementation
License
Platform

   




Related Projects

pact-net -

  •    CSharp

A .NET implementation of the Ruby consumer driven contract library, Pact. Pact is based off the specification found at https://github.com/pact-foundation/pact-specification. PactNet primarily provides a fluent .NET DSL for describing HTTP requests that will be made to a service provider and the HTTP responses the consumer expects back to function correctly. In documenting the consumer interactions, we can replay them on the provider and ensure the provider responds as expected. This basically gives us complete test symmetry and removes the basic need for integrated tests. PactNet also has the ability to support other mock providers should we see fit.

pact-ruby - Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project

  •    Ruby

Define a pact between service consumers and providers, enabling "consumer driven contract" testing. Pact provides a fluent API for service consumers to define the HTTP requests they will make to a service provider and the HTTP responses they expect back. These expectations are used in the consumer specs to provide a mock service provider. The interactions are recorded, and played back in the service provider specs to ensure the service provider actually does provide the response the consumer expects.

pact-jvm - JVM version of Pact

  •    Kotlin

JVM implementation of the consumer driven contract library pact. Define a pact between service consumers and providers, enabling "consumer driven contract" testing.

pact-js - JS version of Pact

  •    TypeScript

Implementation of the consumer driven contract library Pact for Javascript. The Pact family of frameworks provide support for Consumer Driven Contracts testing.

pact-jvm - JVM version of Pact

  •    Groovy

JVM implementation of the consumer driven contract library pact. Define a pact between service consumers and providers, enabling "consumer driven contract" testing.


pact_broker - Enables your consumer driven contracts workflow

  •    Ruby

The Pact Broker is an application for sharing for consumer driven contracts and verification results. It is optimised for use with "pacts" (contracts created by the Pact framework), but can be used for any type of contract that can be serialized to JSON. Contract testing is an alternative approach to traditional integration testing that gives you tests that are quicker to execute, and that are more maintainable at scale. One down side of the approach is that the important information that would be available all in one place at the end of an integration test suite execution (that is, the version numbers of all the applications that were tested together, and whether the tests passed or failed) is now spread out across many different builds. The Pact Broker is a tool that brings all this information back together again, and allows you to deploy with safety.

pacto - Pacto settles disputes between JSON providers and consumers

  •    Ruby

Pacto is currently INACTIVE. Unfortunately none of the maintainers have had enough time to maintain it. While we feel that Pacto had good ideas, we also feel that a lot has changed since Pacto was first conceived (including the OpenAPIs initiative) and that too much work would be required to maintain & update Pacto. Instead, we encourage others to use other projects that have focused on Consumer-Driven Contracts, like Pact, or to write their own Pacto-inspired project. Pacto is a judge that arbitrates contract disputes between a service provider and one or more consumers. In other words, it is a framework for Integration Contract Testing, and helps guide service evolution patterns like Consumer-Driven Contracts or Documentation-Driven Contracts.

Babun - a Windows shell you love

  •    Groovy

The core of Babun consists of a pre-configured Cygwin. It consists of pact - advanced package manager (like apt-get or yum). Babun’s shell features include syntax highlighting, UNIX tools, software development tools, git-aware prompt, custom scripts and aliases. Mintty is the console used in babun. It features an xterm-256 mode, nice fonts and simply looks great!

StratoSphere - Cloud Computing Framework for Big Data Analytics

  •    Java

The Stratosphere System is an open-source cluster/cloud computing framework for Big Data analytics. It comprises of An extensible higher level language (Meteor) to quickly compose queries for common and recurring use cases, A parallel programming model (PACT, an extension of MapReduce) to run user-defined operations, An efficient massively parallel runtime (Nephele) for fault tolerant execution of acyclic data flows.

juno - Smart Contracts Running on a BFT Hardened Raft

  •    Haskell

NOTE: This is not Kadena's blockchain (ScalableBFT) nor does this blockchain run the Pact Smart Contract language. For information about Kadena's proprietary high-performance scalable blockchain, please go to http://kadena.io. Juno is not longer under active development and hasn't been for some time. There were fundamental issues with the protocol and implementation that removed further stability, performance, and scalability gains.

Mock Service Worker - Seamless REST/GraphQL API mocking library for browser and Node

  •    Javascript

Mock by intercepting requests on the network level. Seamlessly reuse the same mock definition for testing, development, and debugging. Browser usage is what sets Mock Service Worker apart from other tools. Utilizing the Service Worker API that intercepts requests for the purpose of caching, Mock Service Worker responds to captured requests with your mock definition on the network level. This way your application knows nothing about the mocking.

apimocker - node.js module to run a simple http server for mock service responses.

  •    Javascript

Then you can visit "http://localhost:7878/first" in your browser to see it work. The quiet and port options can also be set in the config.json file, and values from config.json will override values from the command line. After you get up and running, you should put your config.json and mock responses in a better location. It's not a good idea to keep them under the "node_modules" directory. Make sure another process is not already using the port you want. If you want port 80, you may need to use "sudo" on Mac OSX. Sometimes you only want some service endpoints to be mocked, but have other requests forwarded to real service endpoints. In this case, provide the proxy URL option on startup e.g. apimocker --proxy http://myrealservice.io When the proxy option is set, any requests to apimocker with URLs that are not configured with mock files, will be forwarded to the specified URL.

gripmock - gRPC Mock Server

  •    Go

GripMock is a mock server for GRPC services. It's using a .proto file to generate implementation of gRPC service for you. If you are already familiar with Apiary or WireMock for mocking API service and looking for similiar thing for GRPC then this is the perfect fit for that. Matched stub will be returned to GRPC service then further parse it to response the rpc call.

Workflow Foundation 4 State Machine Service

  •    

This is a sample project for workflow foundation 4 state machine exposed as a WCF service. Prerequisites .net framework 4 platform update 1 [url:http://www.microsoft.com/download/en/details.aspx?id=11705]

moto - Moto is a library that allows your python tests to easily mock out the boto library

  •    Python

Moto is a library that allows your tests to easily mock out AWS Services.Take a minute to think how you would have tested that in the past.

Wiremock - A tool for mocking HTTP services

  •    Java

WireMock is a simulator for HTTP-based APIs. Some might consider it a service virtualization tool or a mock server. It enables you to stay productive when an API you depend on doesn't exist or isn't complete. It supports testing of edge cases and failure modes that the real API won't reliably produce. And because it's fast it can reduce your build time from hours down to minutes.

TFS WorkItem Watcher

  •    DotNet

TFSWIWatcher is a service allowing you to register for watching workitems in Team Foundation Server. The service can be configured to use different logic to retrieve accounts to be notified and to deliver messages to the accounts to be notified.

Service Provider Foundation Examples

  •    

Provides code examples for developing with the System Center 2012 - Service Provider Foundation services.

SimulatorRemoteNotifications - Library to send mock remote notifications to the iOS simulator

  •    Objective-C

SimulatorRemoteNotifications is a library to send mock remote notifications to the iOS simulator. The library extends UIApplication by embedding a mini server that listen for UDP packets containing JSON-formated payload, and a service to send notifications to the mini server.

httplive - HTTP Request & Response Service, Mock HTTP

  •    Go

The HttpLive is a tool for API designers, Proxy, mobile and web application developers to develop and test their applications faster without being dependent on any server or backend applications. HttpLive has a built-in user interface. Therefore, you can do all the configurations you need on this UI, and with dynamic URL (Routing) definitions you can specify your own JSON return types for your applications.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.