Created
December 12, 2016 20:00
-
-
Save anonymous/0683c43f31bd916b76aff348ff87f51b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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