Skip to content
An API mocking tool for testing data interoperability between microservices and secure HTTP endpoints
JavaScript CSS HTML
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Jun 28, 2019
assets/screenshots Add screenshots for README Jun 27, 2019
public changes for electron bundling Jun 27, 2019
src changes for electron Jun 27, 2019
test
.babelrc Update .babelrc Jun 11, 2019
.eslintignore added lint configuration for CICD Pipeline Jun 15, 2019
.eslintrc fixed the brancket formating issue Jun 17, 2019
.gitignore changes for electron bundling Jun 27, 2019
.travis.yml adding the test for CICD Pipeline Jun 15, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jun 28, 2019
LICENSE Create LICENSE Jun 28, 2019
README.md Update README.md Jun 28, 2019
lintresults added lint configuration for CICD Pipeline Jun 15, 2019
package.json Update Json Jun 27, 2019
webpack.config.js removed unused SVG webpack rules Jun 25, 2019

README.md

Interspect

Build Status PRs Welcome License: MIT

Interspect is an API-mocking tool that helps you ensure data interoperability between microservices and arbitrary API endpoints. Download the app for macOS to get started.

Basic usage

The app is split into three, distinct panels:

Source

This is where you can define a data source that will become the foundation for your data mockups. There are a couple ways to get data into the application.

Screenshot of source panel

Send a GET request

If your microservice supports GET requests, add your endpoint to the request bar and hit send. You’ll then be able to view the response data, along with basic performance metrics for the request.

Send data to Interspect

You can also send data to the source panel at http://localhost:3001/posturl with POST, PUT, PATCH, or DELETE.

Note: The open socket may timeout after extended use. There’s an open issue to resolve (and we welcome contributions 😉)

Accpeted data types

Interspect works with JSON and XML-formatted data

Mockups

In the mockups panel, you can create new data scenarios from your source data. Each data tree is editable so you can delete, update, or add new data.

Screenshot of mockups panel

If your data source is a collection, you can also create new mockups from a specific index or key.

Creating test assertions

You can add test assertions to any mockup as well. Simply click Edit Test Assertions and choose a specific status code or status code range that you expect to receive when sending your mockup to your destination microservice.

While only status code assertions are supported at launch, we welcome contributions to add additional test domains.

Destination

In the third panel, you can enter a destination endpoint for your mock data. When you send your request, each mockup you created will be sent in sequence to the destination endpoint.

Screenshot of destination panel

Upon a successful request, you will be able to see returned status codes as well as the result of any test assertions and basic performance metrics.

Note: HTTP Requests in the destination panel are sent 10 times to get an average of the total request time. At launch, this behavior cannot be turned off, but a preference will be added in a future version.


Authors

Interspect was created by:

Contributing

We welcome pull requests and new issues. There are also several open issues that are up for grabs.

License

MIT License

© 2019 Interspect

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.