Skip navigation links
A B C G H I N O P R S T U V 

A

after() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Stops the managed instance of Hoverfly
afterInvocation(IInvokedMethod, ITestResult) - Method in class io.specto.hoverfly.testng.HoverflyExecutor
 
afterInvocation(IInvokedMethod, ITestResult, ITestContext) - Method in interface io.specto.hoverfly.testng.IHoverflyMethodListener
 
assertThatNoDiffIsReported() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
assertThatNoDiffIsReported(boolean) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.

B

before() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Starts an instance of Hoverfly
beforeInvocation(IInvokedMethod, ITestResult) - Method in class io.specto.hoverfly.testng.HoverflyExecutor
 
beforeInvocation(IInvokedMethod, ITestResult, ITestContext) - Method in interface io.specto.hoverfly.testng.IHoverflyMethodListener
 

C

capture(String) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Stores what's currently been captured in the currently assigned file, reset simulations and journal logs, then starts capture again ready to store in the new file once complete.
capture(String, String) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Stores what's currently been captured in the currently assigned file, reset simulations and journal logs, then starts capture again ready to store in the new file once complete.
cleanDiffs() - Method in class io.specto.hoverfly.testng.NoDiffAssertion
 

G

getAuthHeaderName() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Deprecated.
getAuthHeaderValue() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Deprecated.
getHoverflyMode() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Gets started Hoverfly mode
getProxyPort() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Gets the proxy port this has run on, which could be useful when running Hoverfly on a random port.
getSslConfigurer() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
 
getState() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Get all state from Hoverfly

H

HoverflyExecutor - Class in io.specto.hoverfly.testng
 
HoverflyExecutor() - Constructor for class io.specto.hoverfly.testng.HoverflyExecutor
 
HoverflyTestNG - Class in io.specto.hoverfly.testng
 

I

IHoverflyClassListener - Interface in io.specto.hoverfly.testng
 
IHoverflyMethodListener - Interface in io.specto.hoverfly.testng
 
inCaptureMode() - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
 
inCaptureMode(HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
 
inCaptureMode(String) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in capture mode
inCaptureMode(String, HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in capture mode
inCaptureMode(String, String) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in capture mode
inCaptureMode(String, String, HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in capture mode
inCaptureOrSimulationMode(String) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in capture mode if recorded file is not present, or in simulation mode if record file is present
inCaptureOrSimulationMode(String, HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in capture mode if recorded file is not present, or in simulation mode if record file is present
inDiffMode() - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in diff mode with no data
inDiffMode(HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in diff mode with no data
inDiffMode(SimulationSource) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in diff mode
inDiffMode(SimulationSource, HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in diff mode
inSimulationMode() - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in simulate mode with no data
inSimulationMode(HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in simulate mode with no data
inSimulationMode(SimulationSource) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in simulate mode
inSimulationMode(SimulationSource, HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
 
inSpyMode() - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in spy mode with no data
inSpyMode(HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in spy mode with no data
inSpyMode(SimulationSource) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
Instantiates a rule which runs Hoverfly in spy mode
inSpyMode(SimulationSource, HoverflyConfig) - Static method in class io.specto.hoverfly.testng.HoverflyTestNG
 
io.specto.hoverfly.testng - package io.specto.hoverfly.testng
 
io.specto.hoverfly.testng.api - package io.specto.hoverfly.testng.api
 

N

NoDiffAssertion - Class in io.specto.hoverfly.testng
Asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
NoDiffAssertion(Hoverfly) - Constructor for class io.specto.hoverfly.testng.NoDiffAssertion
Creates a rule with the given instance of Hoverfly that asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
NoDiffAssertion(HoverflyTestNG) - Constructor for class io.specto.hoverfly.testng.NoDiffAssertion
Creates a rule with the given instance of HoverflyTestNG that asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.
NoDiffAssertion(HoverflyConfig) - Constructor for class io.specto.hoverfly.testng.NoDiffAssertion
Creates a rule with the given instance of HoverflyConfig that asserts that there was no diff between any of the expected responses set by simulations and the actual responses returned from the real service.

O

onAfterClass(ITestClass) - Method in interface io.specto.hoverfly.testng.IHoverflyClassListener
 
onBeforeClass(ITestClass) - Method in interface io.specto.hoverfly.testng.IHoverflyClassListener
 

P

performAssertion() - Method in class io.specto.hoverfly.testng.NoDiffAssertion
 
printSimulationData() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Print the simulation data to console for debugging purpose.

R

resetDiffs() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
 
resetJournal() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
 
resetState() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Deletes all state from Hoverfly

S

setState(Map<String, String>) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Deletes all state from Hoverfly and then sets the state.
simulate(SimulationSource, SimulationSource...) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Changes the Simulation used by Hoverfly It also reset the journal to ensure verification can be done on the new simulation source.

T

TestNGClassRule - Annotation Type in io.specto.hoverfly.testng.api
 
TestNGRule - Annotation Type in io.specto.hoverfly.testng.api
 

U

updateState(Map<String, String>) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
Updates state in Hoverfly.

V

verify(RequestMatcherBuilder) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
 
verify(RequestMatcherBuilder, VerificationCriteria) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
 
verifyAll() - Method in class io.specto.hoverfly.testng.HoverflyTestNG
 
verifyZeroRequestTo(StubServiceBuilder) - Method in class io.specto.hoverfly.testng.HoverflyTestNG
 
A B C G H I N O P R S T U V 
Skip navigation links