The simplest way to run and download MockServer is by using the fully stand alone web server embedded with all dependencies that mocks HTTP and HTTPS requests, as follows:

  1. download mockserver-netty-4.0.0-jar-with-dependencies.jar from Maven Central

  2. java -jar <path to mockserver-netty-4.0.0-jar-with-dependencies.jar> -serverPort <port>

For more details on downloads see: