Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SceneConfiguration sceneConfiguration = new SceneConfiguration(rootPath, sceneMode, sceneName);
try (FlashbackRunner flashbackRunner = new FlashbackRunner.Builder().mode(sceneMode).host(host).port(port).sceneAccessLayer(
new SceneAccessLayer(SceneFactory.create(sceneConfiguration), matchRule1)).build()) {
flashbackRunner.start();
//make http request call
flashbackRunner.setMatchRule(matchRule2);
//make http request call again.
flashbackRunner.setMatchRule(matchRule3);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.