All Projects → mcustiel → Phiremock

mcustiel / Phiremock

Licence: gpl-3.0
Phiremock mocks HTTP requests and REST services, allowing to mock external services during acceptance testing.

Projects that are alternatives of or similar to Phiremock

Vue Spa Project
vue.js + vuex + vue-router + fetch + element-ui + es6 + webpack + mock 纯前端SPA项目开发实践
Stars: ✭ 118 (-9.92%)
Mutual labels:  mock
Confluence
Torrent client as a HTTP service
Stars: ✭ 126 (-3.82%)
Mutual labels:  service
Jquery.fbmessenger
Fake Facebook Messenger interactions on an iPhone with a simple jQuery plugin!
Stars: ✭ 130 (-0.76%)
Mutual labels:  mock
Pytruth
Assertion framework for Python unit tests
Stars: ✭ 118 (-9.92%)
Mutual labels:  mock
D2 Admin
An elegant dashboard
Stars: ✭ 11,012 (+8306.11%)
Mutual labels:  mock
Fdk Java
Java API and runtime for fn.
Stars: ✭ 127 (-3.05%)
Mutual labels:  service
Bitwrk
Bitcoin-fueled Peer-to-Peer Blender Rendering (and more)
Stars: ✭ 114 (-12.98%)
Mutual labels:  service
Mocky
Generate custom HTTP responses, the simpler way to test your Web Services
Stars: ✭ 1,762 (+1245.04%)
Mutual labels:  mock
Nock
HTTP server mocking and expectations library for Node.js
Stars: ✭ 11,131 (+8396.95%)
Mutual labels:  mock
Octavia
Load Balancing as a Service (LBaaS) for OpenStack. Mirror of code maintained at opendev.org.
Stars: ✭ 129 (-1.53%)
Mutual labels:  service
Tinypart
TinyPart is an iOS modularization framework implemented by Ojective-C. It also supports URL-routing and inter-module communication. TinyPart是一个由Objective-C编写的面向协议的iOS模块化框架,同时它还支持URL路由和模块间通信机制。
Stars: ✭ 120 (-8.4%)
Mutual labels:  service
Ava Playback
📼 🚀 Record and playback http requests from your ava tests
Stars: ✭ 124 (-5.34%)
Mutual labels:  mock
Superagent Mocker
Pretty simple in-browser mocks for CRUD and REST API
Stars: ✭ 127 (-3.05%)
Mutual labels:  mock
Nsubstitute
A friendly substitute for .NET mocking libraries.
Stars: ✭ 1,646 (+1156.49%)
Mutual labels:  mock
Manila
Shared filesystem management project for OpenStack. Mirror of code maintained at opendev.org.
Stars: ✭ 130 (-0.76%)
Mutual labels:  service
Mockit
A tool to quickly mock out end points, setup delays and more...
Stars: ✭ 1,534 (+1070.99%)
Mutual labels:  mock
Daemon
A daemon package for use with Go (golang) services
Stars: ✭ 1,720 (+1212.98%)
Mutual labels:  service
Kala
Modern Job Scheduler
Stars: ✭ 1,736 (+1225.19%)
Mutual labels:  service
Spy
Clojure/ClojureScript library for stubs, spies and mocks.
Stars: ✭ 131 (+0%)
Mutual labels:  mock
Zaqar
OpenStack Messaging (Zaqar). Mirror of code maintained at opendev.org.
Stars: ✭ 128 (-2.29%)
Mutual labels:  service

Phiremock Bundle

Phiremock is a mocker and stubber of HTTP services, it allows software developers to mock HTTP requests and setup responses to avoid calling real services during development, and is particulary useful during acceptance testing when expected http requests can be mocked and verified. Any HTTP service (i.e.: REST services) can be mocked and stubbed with Phiremock. Phiremock is heavily inspired by WireMock, but does not force you to have a java installation in your PHP development environment. The full functionality of Phiremock is detailed in the following list:

  • Allows to mock http request based in method, headers, url and body content.
  • Allows to match expectations using regexp patterns or equality.
  • REST interface to setup.
  • Stateful and stateless mocking.
  • Network latency simulation.
  • Priorizable expectations for cases in which more than one matches the request. If more than one expectation matches the request and no priorities were set, the first match is returned.
  • Allows to verify the amount of times a request was done.
  • Allows to load default expectations from json files in a directory tree.
  • Proxy requests to another URL as they are received.
  • Client with fluent interface to configure Phiremock.
  • Integration to codeception through phiremock-codeception-extension and phiremock-codeception-module.
  • Fill the response body using data from the request.

Latest Stable Version Monthly Downloads

SensioLabsInsight

Note: In version 2 Phiremock has separated libraries for the server and the client. This repository became the bundle for both libraries.

Installation

Composer:

This project is published in packagist, so you just need to add it as a dependency in your composer.json:

    "require-dev": {
        "mcustiel/phiremock": "v2.0",
        "guzzlehttp/guzzle": "^6.0"
    }

See

Thanks to:

And everyone who submitted their Pull Requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].