MockServer Examples

org.mock-server : mockserver-examples

An example project demonstration tests using the mock server and proxy

Nov 08, 2020

Add dependency in Maven / Gradle

<!-- https://jmaven.com/dependency/org.mock-server/mockserver-examples --> 
<dependency>
    <groupId>org.mock-server</groupId>
    <artifactId>mockserver-examples</artifactId>
    <version>5.11.2</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.mock-server:mockserver-examples library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.mock-server</groupId>
  <artifactId>mockserver-examples</artifactId>
  <version>5.11.2</version>
</dependency>
</dependencies>

To install org.mock-server:mockserver-examples library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.mock-server:mockserver-examples library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.mock-server:mockserver-examples:5.11.2'
}

Gradle Kotlin DSL: Add the org.mock-server:mockserver-examples library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.mock-server:mockserver-examples:5.11.2")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.mock-server:mockserver-examples library to your build.sbt file:

libraryDependencies += "org.mock-server" % "mockserver-examples" % "5.11.2"

4. Add dependency to a Grape project

Grape: Add an annotation org.mock-server:mockserver-examples library to your groovy script file:

@Grapes(
    @Grab('org.mock-server:mockserver-examples:5.11.2')
)

Compile Dependencies (1)

Group / Artifact Usage
org.springframework » spring-web 4.2k

Provided Dependencies (1)

Group / Artifact Usage
javax.servlet » javax.servlet-api 9.7k

Test Dependencies (3)

Recommended for You

The QuickJS embeddable JavaScript engine packaged for Android and the JVM.

2 usages
1.1k stars

This project contains the SDK used for Oracle Cloud Infrastructure Events

3 usages

A Java library that makes it easier to access the foojay disco api

1 usages
3 stars
8 usages
21k stars

More from Group

A java client for the MockServer

59 usages

A JUnit5 Extension for MockServer

24 usages

Functionality used by all MockServer modules for matching and expectations

19 usages

A JUnit4 Rule for MockServer

6 usages
© 2022 JMaven.com