fofapro / fapro

Fake Protocol Server
1.52k stars 178 forks source link

可以模拟连接超时情况么 #17

Closed NeverRetrun closed 2 years ago

NeverRetrun commented 2 years ago

我还没有开始使用这个软件。

我想做到的是需要模拟大部分软件类似 MySQL、Redis等然后测试代码连接timeout的情况。

我好像没有看到相关的配置,想问一下能不能实现这种测试

ntestoc3 commented 2 years ago

请问您的具体使用场景是什么? 是测试tcp连接超时,还是业务连接超时,还是keep-alive超时

NeverRetrun commented 2 years ago

都有。 大致是这么几块 :

ntestoc3 commented 2 years ago

感谢您的意见,目前还不支持这种场景的模拟。