public class PactHttpsProviderRuleMk2
extends BaseProviderRule
A junit rule that wraps every test annotated with PactVerification. Before each test, a mock server will be setup at given port/host that will provide mocked responses for the given provider. After each test, it will be teared down. If no host is given, it will default to 127.0.0.1. If no port is given, it will default to a random port.
config, provider, target
Constructor and Description |
---|
PactHttpsProviderRuleMk2()
Creates a mock provider by the given name
|
PactHttpsProviderRuleMk2()
Creates a mock provider by the given name
|
PactHttpsProviderRuleMk2()
Creates a mock provider by the given name
|
PactHttpsProviderRuleMk2()
Creates a mock provider by the given name. Binds to localhost and a random port.
|
PactHttpsProviderRuleMk2()
Creates a mock provider by the given name. Binds to localhost and a random port.
|
apply, getConfig, getMockServer, getPacts, getPort, getUrl, validateResult
public PactHttpsProviderRuleMk2()
Creates a mock provider by the given name
public PactHttpsProviderRuleMk2()
Creates a mock provider by the given name
public PactHttpsProviderRuleMk2()
Creates a mock provider by the given name
public PactHttpsProviderRuleMk2()
Creates a mock provider by the given name. Binds to localhost and a random port.
public PactHttpsProviderRuleMk2()
Creates a mock provider by the given name. Binds to localhost and a random port.