Giter VIP home page Giter VIP logo

concordion-mockserver-extension's People

Contributors

petroravlinko avatar waffle-iron avatar

Watchers

 avatar

Forkers

waffle-iron

concordion-mockserver-extension's Issues

Extension should be able to add forwarding

As extension consumer I want to add forwarding for my requests it will be easy to manage MockServer forwards by html specification.
Example:
<ms:forward>
<ms:host>localhost</ms:host>
<ms:port>8080</ms:port>
<ms:sheme>http</ms:sheme>
</ms:forward>

Retrieve and set response body from stored file

As extension consumer I want to add body for my response from file so it will be easy to store response body examples not at html specification.
Example:
<ms:responseBody path="/path/to/response/body/example"></ms: responseBody >
or
<ms: responseBody path="/path/to/response/body/example"/>

Extension should be able to add response status

As extension consumer I want to add response status by Concordion specification file for mocked request that is why I will be able set response status by html spec without any java knowledge.

Example:
<ms:statusCode>200</ms:statusCode>

Extension should be able to reset mockserver

As extension consumer I want to be able to reset all MockServer expectations it will be useful for avoiding expectations conflicts that was provided in previous specifications.
Example:
<ms:reset />

Retrieve and set expected request body from stored file

As extension consumer I want to add body for my requests from file it will be easy to store request examples not at html specification.
Example:
<ms:body path="/path/to/request/body/example"></ms:body>
or
<ms:body path="/path/to/request/body/example"/>

Extension should be able to add a headers for responses

As extension consumer I want to add headers to responses by Concordion specification file for mocked request so that I will be able set response headers by html spec without any java knowledge.

Example:
<ms:header name="Content-Type">application/json</ms:header>

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.