Skip to content
clafonta edited this page Jun 10, 2015 · 21 revisions

Mockey Home Page - Sample

What is Mockey?

It’s for people who think “I consume web services and I need to see what My App does during Development and Test Cycles”. OK, it’s written in Java, but you shouldn’t care, just as long as you have Java installed, right?! See http://java.com/en/download/help/mac_install.xml.

Mockey was built to help reduce the constraints of working with services, services being other applications your app may be interacting with over http/https.

How Do I Use Mockey?

Here are some videos:

Point your application to Mockey and then point Mockey to the 3rd party application. With Mockey in the middle, it will capture all the messages being exchanged between applications. After enough messages have been captured, make Mockey the end-point and explicitly tell it what messages to return.

The cool thing is, you are no longer constrained by the 3rd party service to develop and test your code.

When Would I Consider Using Mockey?

Here are a few reasons that made us build this thing:

  1. Client heavy application development. Examples like single page apps in HTML with lots of JavaScript or native application development like iOS or Android. Mockey could be your sandbox, representing your production or QA server environment.
  2. Consuming 3rd party web services. A web service can change state or be temporarily unreachable or unstable.
  3. Dynamic flows. Depending on the data being consumed, you want to test all your flows but the service provider doesn’t have all possible scenarios you need to test your application.
  4. Sandbox. The service you’re consuming isn’t always available, e.g. a development or testing service. Or, the service data state is unknown.
  5. Message inspection. The application is not working properly. Is it you or the 3rd party?
Clone this wiki locally