recruit-tech / Agreed
agreed is Consumer Driven Contract tool with JSON mock server.
Stars: ✭ 189
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Agreed
Mock server
A lightweight Sinatra application backed by sqlite that can mock ReST responses. Has interface to easily create, search & maintain mocks. No need to program mocks into a language specific implementation.
Stars: ✭ 107 (-43.39%)
Mutual labels: mock-server
Kubernetes Client
Java client for Kubernetes & OpenShift
Stars: ✭ 2,188 (+1057.67%)
Mutual labels: mock-server
Mockserver Client Node
MockServer javascript client for browsers, Node.js or any grunt build
Stars: ✭ 52 (-72.49%)
Mutual labels: mock-server
Atmo
✔️ Mock data for your prototypes and demos. Remote deployments to Zeit now.
Stars: ✭ 802 (+324.34%)
Mutual labels: mock-server
Killgrave
Simple way to generate mock servers written in Go
Stars: ✭ 180 (-4.76%)
Mutual labels: mock-server
React Easy Start
A lightweight ant-design-pro based on create-react-app.
Stars: ✭ 102 (-46.03%)
Mutual labels: mock-server
Mockstar
Demo project on How to be a Mockstar using Mockito and MockWebServer.
Stars: ✭ 53 (-71.96%)
Mutual labels: mock-server
Httplive
HTTP Request & Response Service, Mock HTTP
Stars: ✭ 1,094 (+478.84%)
Mutual labels: mock-server
Mockey
Mockey is a tool for testing application interactions over http, with a focus on testing web services, specifically web or native applications that consume XML, JSON, and HTML. Mockey's purpose is to be a simple front end to writing mock-test-responses to the file system for persistence to git.
Stars: ✭ 117 (-38.1%)
Mutual labels: mock-server
Wiremockui
Wiremock UI - Tool for creating mock servers, proxies servers and proxies servers with the option to save the data traffic from an existing API or Site.
Stars: ✭ 38 (-79.89%)
Mutual labels: mock-server
Prism
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
Stars: ✭ 2,484 (+1214.29%)
Mutual labels: mock-server
Easy Mock Server
A mock server for json and mock template files
Stars: ✭ 22 (-88.36%)
Mutual labels: mock-server
Mitm Scripts
🔄 A collection of mitmproxy inline scripts
Stars: ✭ 109 (-42.33%)
Mutual labels: mock-server
Mockinizer
An okhttp / retrofit api call mocking library
Stars: ✭ 176 (-6.88%)
Mutual labels: mock-server
agreed is Consumer Driven Contract tool with JSON mock server.
agreed has 3 features.
- Create contract file as json(json5/yaml/etc) file
- mock server for frontend development
- test client for backend development
Install
$ npm install @agreed/cli -g
Usage
Usage as Frontend Mock Server
- Create agreed file (this file is used as a contract between frontend and backend)
// save as agreed.js
module.exports = [
{
request: {
path: '/user/:id',
method: 'GET',
query: {
q: '{:someQueryStrings}',
},
values: {
id: 'yosuke',
someQueryStrings: 'foo'
},
},
response: {
headers: {
'x-csrf-token': 'csrf-token',
},
body: {
message: '{:greeting} {:id} {:someQueryStrings}',
images: '{:images}',
themes: '{:themes}',
},
values: {
greeting: 'hello',
images: [
'http://example.com/foo.jpg',
'http://example.com/bar.jpg',
],
themes: {
name: 'green',
},
}
},
},
]
- Run server
$ agreed-server --path ./agreed.js --port 3010
- curl to the mock server
$ curl http://localhost:3010/user/yosuke?q=foo
{
"message": "hello yosuke foo",
"images": [
"http://example.com/foo.jpg",
"http://example.com/bar.jpg"
],
"themes": {
"name": "green"
}
}
Usage as Backend test client
- Run test client for confirm response
$ agreed-client --path ./agreed.js --port 3030 --host example.com
Usage: Agreed Documentation
- Run documentation server
$ agreed-ui --path ./agreed.js --port 3031
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].