linkedin / flashback

mock the internet
BSD 2-Clause "Simplified" License
578 stars 54 forks source link

Where are scenes supposed to write to on disk? #16

Open Aarskin opened 7 years ago

Aarskin commented 7 years ago

I've been noticing some non-static behavior that is throwing me off. Using the "golden flow" example in the readme, on Windows 10, I've seen my test1 file appear in the following locations

Why am I seeing it appear (or not appear) in different locations when I am following the same workflow?

This is the post body I am using to start Flashback:

{
  "sceneMode": "record",
  "sceneName": "test1",
  "matchRule": "matchEntireRequest",
  "scenePath": "/tmp",
  "proxyHost": "localhost",
  "proxyPort": "5555"
}
ben-oldcom commented 7 years ago

let me find a windows machine and give it a try.

gitcarter commented 7 years ago

@Aarskin For what it's worth, when I provide an absolute path as the scenePath on Windows 10, it's consistent for me. The absolute path is also formatted as a Windows path as opposed to a *nix path.

Here's an example:

{
  "sceneMode": "record",
  "sceneName": "test1",
  "matchRule": "matchEntireRequest",
  "scenePath": "C:\\fl-data-output",
  "proxyHost": "localhost",
  "proxyPort": "5555"
}