DummyLive模型
class DummyLiveModel @JvmOverloads constructor(steps: List<DummyLiveStep>, val name: String = "dummy-live-model") : Model
A fake live Model for testing live agents and runners without a network connection.
Each call to connect records the request and returns a new DummyLiveConnection that plays steps.
Use perConnection to give each connection its own steps, for example to script a reconnect.
属性(Properties)
Link copied to clipboard
Link copied to clipboard
到目前为止,所有建立的连接都会按照建立时间的先后顺序进行显示(即最旧的连接会首先显示)。
Link copied to clipboard
被传递到的请求…… connect按照年龄从大到小的顺序排列;年龄最大的排在最前面。
函数
Link copied to clipboard
Link copied to clipboard
返回一个会抛出异常的流程(flow)。 AssertionError 仅在收集数据时才适用。 connect 该功能是受支持的。