package
recorder
Type Members
-
case class
HttpRecord(session: String, requestHash: Int, method: String, destHost: String, path: String, requestHeader: Map[String, String], requestBody: String, responseCode: Int, responseHeader: Map[String, String], responseBody: String, createdAt: Instant) extends Product with Serializable
-
class
HttpRecordStore extends AutoCloseable with LogSupport
-
case class
HttpRecorderConfig(destUri: String, sessionName: String = "default", expirationTime: String = "1w", storageFolder: String = "fixtures", dropSessionIfExists: Boolean = true, recordTableName: String = "record", port: Int = 1, headerExcludes: (String) ⇒ Boolean = HttpRecorder.defaultHeaderExclude, fallBackHandler: Service[Request, Response] = HttpRecorder.defaultFallBackHandler) extends Product with Serializable
-
-
-
class
ReplayService extends FinagleService with LogSupport
Creates a proxy server for recording and replaying HTTP responses. This is useful for simulate the behavior of Web services, that are usually too heavy to use in an restricted environment (e.g., CI servers)