GithubHelp home page GithubHelp logo

gmartinezramirez / mountebank-imposter-service Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 10 KB

Mountebank imposter service on Docker

Dockerfile 18.58% HTML 81.42%
microservices-testing mountebank-api mountebank mountebank-client

mountebank-imposter-service's Introduction

Mountebank Imposter Service

  • Dockerized mountebank service with impostor example.
  • Mountebank version: 2.2.0.
  • NodeJS: 12.1.6 LTS.

Prequisites

  1. Docker

Usage

  1. To use the impostors in mountebank use the command: docker-compose up
$ docker-compose up
  1. You can access mountebank impostors on port 2525. Example: localhost:2525

  2. If you want to modify or add impostor you can modify the imposters/imposter.ejs

Impostor API

  • Impostor is available on port 42000.
    • curl localhost:42000/api/centros/
    • In this project is available the postman collection on the folder postman_collections
  • URI: /api/centros/
  • Method: GET
  • Response: 200
{
    "id": "d30cd5da-8424-4922-a7ff-4ecb670a6c0a",
    "nombre": "achs principal"
}

mountebank-imposter-service's People

Contributors

annamorozovaworks avatar gmartinezramirez avatar

Watchers

 avatar  avatar

Forkers

aldemars

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.