flashback
flashback copied to clipboard
Does Flashback support network delay in playback mode?
I want to simulate different network delay in playback mode. Is it doable with Flashback?
We don't have use case yet but we can support that. Is this Http or Https? If it's Https, which phase do you want to delay? CONNECT request or SSL or real request?
As a work around, there are a few way to simulate that:
- You can create your own match rule and have some logic to delay matching logic. If delay is less than proxy timeout, that's most straight forward way to do
- If you want to delay connection flow, you can create your own customized connection flow step and insert in between some connection flow steps to simulate that
- If you want to delay real request, you can create customized ProxyModeController so you can delay in data layer.
One goal for flashback is that we want to provide flexibility to users to easily meet their special requirement by defining your own matchrule, connection flow and data flow
this is a cool and good feature request in my opinion, @sf1152 let's plan to add this.