Moco alternatives and similar libraries
Based on the "Testing" category.
Alternatively, view Moco alternatives based on common mentions on social networks and blogs.
-
Apache JMeter
Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services -
TestContainers
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. -
MockServer
MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding). -
PowerMock
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable. -
Pact JVM
JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project. -
Scott Test Reporter
Never debug a test again: Detailed failure reports and hassle free assertions for Java tests - Power Asserts for Java -
pojo-tester
Java testing framework for testing pojo methods. It tests equals, hashCode, toString, getters, setters, constructors and whatever you report in issues ;)
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Moco or a related project?
Popular Comparisons
README
Moco
Moco is an easy setup stub framework.
Latest Release
- 1.3.0
More details in [Release Notes](moco-doc/ReleaseNotes.md)
User Voice
- Let me know if you are using Moco.
- Join Moco mailing list to discuss.
Why
Integration, especially based on HTTP protocol, e.g. web service, REST etc, is wildly used in most of our development.
In the old days, we just deployed another WAR to an application server, e.g. Jetty or Tomcat etc. As we all know, it's so boring to develop a WAR and deploy it to any application server, even if we use an embeded server. And the WAR needs to be reassembled even if we just want to change a little bit.
Quick Start
- Download Standalone Moco Runner
Write your own configuration file to describe your Moco server configuration as follow:
[ { "response" : { "text" : "Hello, Moco" } } ]
(foo.json)
Run Moco HTTP server with the configuration file.
java -jar moco-runner-<version>-standalone.jar http -p 12306 -c foo.json
Now, open your favorite browser to visit http://localhost:12306 and you will see "Hello, Moco".
Documents
- More [Usages](moco-doc/usage.md)
- Detailed [HTTP APIs](moco-doc/apis.md) or [Socket APIs](moco-doc/socket-apis.md)
- Detailed [REST API](moco-doc/rest-apis.md)
- Detailed [Websocket API](moco-doc/websocket-apis.md)
- [Global Settings](moco-doc/global-settings.md) for multiple configuration files.
- [Command Line Usages](moco-doc/cmd.md)
- [Extend Moco](moco-doc/extending.md) if current API does not meet your requirement.
Build
Make sure you have JDK and Gradle installed.
- Clone Moco
git clone [email protected]:dreamhead/moco.git
- Build Moco
./gradlew build
- Build uberjar
./gradlew uberjar
- Check code before commit
./gradlew check
Contributing
Check out what you can help [here](moco-doc/plan.md) if you do not have any existing idea.
Copyright and license
Copyright 2012-2022 ZHENG Ye
Licensed under MIT License (the "License"); You may obtain a copy of the License in the LICENSE file, or at:
https://raw.github.com/dreamhead/moco/master/MIT-LICENSE.txt
Powered By
*Note that all licence references and agreements mentioned in the Moco README section above
are relevant to that project's source code only.