All Projects → clafonta → Mockey

clafonta / 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.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Mockey

ruby-dns-mock
DNS mock server written on 💎 Ruby. Mimic any DNS records for your test environment with fake DNS server.
Stars: ✭ 50 (-57.26%)
Mutual labels:  mock-server, testing-tools
main
Mocks Server monorepo
Stars: ✭ 109 (-6.84%)
Mutual labels:  mock-server, testing-tools
go-smtp-mock
SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.
Stars: ✭ 76 (-35.04%)
Mutual labels:  mock-server, testing-tools
Localroast
Mock a server for development and testing
Stars: ✭ 217 (+85.47%)
Mutual labels:  testing-tools, mock-server
Chn Eolinker Ams Lite 4.0 For Java
中国最大的API接口管理平台,3.x开源发行版,支持多国语言[英语、简体中文、繁体中文]
Stars: ✭ 275 (+135.04%)
Mutual labels:  testing-tools, mock-server
karate
Test Automation Made Simple
Stars: ✭ 6,384 (+5356.41%)
Mutual labels:  mock-server, testing-tools
mocat
🐈 Mocat is a mocking toolbar that allows you to interactively develop and test network requests.
Stars: ✭ 27 (-76.92%)
Mutual labels:  mock-server, testing-tools
Karate
Test Automation Made Simple
Stars: ✭ 5,497 (+4598.29%)
Mutual labels:  testing-tools, mock-server
Mitm Scripts
🔄 A collection of mitmproxy inline scripts
Stars: ✭ 109 (-6.84%)
Mutual labels:  testing-tools, mock-server
servirtium-java
Service Virtualized HTTP - to help service test automation stay fast and consistent
Stars: ✭ 16 (-86.32%)
Mutual labels:  mock-server, testing-tools
Mockttp
Powerful friendly HTTP mock server & proxy
Stars: ✭ 346 (+195.73%)
Mutual labels:  testing-tools, mock-server
Sharingan
Sharingan(写轮眼)是一个基于golang的流量录制回放工具,适合项目重构、回归测试等。
Stars: ✭ 617 (+427.35%)
Mutual labels:  testing-tools, mock-server
Prig
Prig is a lightweight framework for test indirections in .NET Framework.
Stars: ✭ 106 (-9.4%)
Mutual labels:  testing-tools
Acot
💎 Accessibility Testing Framework. More accessible web, all over the world.
Stars: ✭ 112 (-4.27%)
Mutual labels:  testing-tools
Paraunit
Run PHPUnit tests in parallel
Stars: ✭ 104 (-11.11%)
Mutual labels:  testing-tools
Consolemock
A tool for testing console logs
Stars: ✭ 103 (-11.97%)
Mutual labels:  testing-tools
Nose Timer
A timer plugin for nosetests (how much time does every test take?)
Stars: ✭ 116 (-0.85%)
Mutual labels:  testing-tools
Faker
Go (Golang) Fake Data Generator for Struct
Stars: ✭ 1,698 (+1351.28%)
Mutual labels:  testing-tools
Pysipp
SIPp for Humans - launch multiple agents with Python
Stars: ✭ 101 (-13.68%)
Mutual labels:  testing-tools
Beanmother
A library for setting up Java objects as test data.
Stars: ✭ 102 (-12.82%)
Mutual labels:  testing-tools

README

Image of Mockey

What is Mockey?

A testing tool, used to mock end point web services for the purpose of testing web service client applications.

Features

  • Use Mockey as a proxy to a real service, to inspect request and response messages
  • Set up Mockey to go through a corporate proxy server, to reach an endpoint web service
  • Support for HTTP/s interactions (even if your corporate proxy server has https as an endpoint web service)
  • Ability to 'play back' conversations for when endpoint services are not available
  • Ability to run EVERYTHING in a sandbox - your application and the endpoint webservices your application is consuming.

What is Mockey not good at?

  • Large payloads used in conversations, e.g. 10MB per message
  • Transport protocols other than HTTP, e.g. FTP.
  • Complicated conversations e.g. if X, then call this database, else if Y, call 'rake FOO', else kick-off-Maven.
  • Solving everything

Getting Started - Quick

Pre-built jars are located here: https://github.com/clafonta/Mockey/wiki/Downloads

To start:

java -jar Mockey.jar

Mockey.jar is an executable jar file, which will start Mockey within a Jetty container and fire up your browser pointing at the defaults (port 8080, /home). You may need to 'click' refresh on your Browser to see the home page.

To build one locally, you'll need Ant and then do the following:

cd MOCKEY_HOME // root directory of where you checked out Mockey.

ant dist

After a successful build, do the following to start the app:

cd dist

java -jar Mockey.jar

For startup options:

java -jar Mockey.jar --help

For those who prefer to run Mockey in a Tomcat instance, you'll need to build the app:

ant webapptomcat

This will build a WAR file, which you can drop into Tomcat and run. You can set the location of Mockey definition file repot as follows:

export JAVA_OPTS="-DmockeyDefinitionsRepoHome=/Users/your-username/some-directory"

When Mockey starts up in Tomcat, it will look for the 'mockeyDefinitionsRepoHome' property and read write needed files in that directory. If not defined, it will read write files in the default user directory that Tomcat is started with.

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].