{"id":64060,"library":"google-go-replayers-httpreplay","title":"HTTP Replay","description":"Record and replay HTTP traffic for testing HTTP-based clients.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/google/go-replayers","tags":["testing","http","replay","recording"],"install":[{"cmd":"go get github.com/google/go-replayers/httpreplay","lang":"bash","label":"Install github.com/google/go-replayers/httpreplay"}],"dependencies":[],"imports":[{"symbol":"httpreplay","correct":"github.com/google/go-replayers/httpreplay"}],"quickstart":{"code":"package main\n\nimport (\n    \"log\"\n    \"net/http\"\n    \"github.com/google/go-replayers/httpreplay\"\n)\n\nfunc main() {\n    rec, err := httpreplay.NewRecorder(\"test.replay\", nil)\n    if err != nil {\n        log.Fatal(err)\n    }\n    defer rec.Close()\n    client := &http.Client{Transport: rec}\n    resp, err := client.Get(\"https://example.com\")\n    if err != nil {\n        log.Fatal(err)\n    }\n    log.Println(resp.Status)\n}","lang":"go","description":"Record HTTP interactions to a replay file."},"warnings":[],"env_vars":null,"search_vec":"'base':12 'client':13 'http':1,6,11,15 'http-base':10 'record':3,17 'replay':2,5,16 'test':9,14 'traffic':7","created_at":"2026-06-17T16:51:29.189524+00:00","updated_at":"2026-06-17T16:51:29.189524+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/google/go-replayers","github":"https://github.com/google/go-replayers","docs":"https://pkg.go.dev/github.com/google/go-replayers/httpreplay#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}