api-testing/extensions/collector
Rick 7ea16a6642
feat: support to generate grpc payload as JSON (#264)
2023-11-03 14:13:43 +08:00
..
cmd feat: support to set upstream proxy address (#86) 2023-06-08 11:14:11 +08:00
pkg feat: support to generate grpc payload as JSON (#264) 2023-11-03 14:13:43 +08:00
Makefile feat: add a HTTP request collector as atest extension (#85) 2023-06-07 22:59:47 +08:00
README.md feat: support to set upstream proxy address (#86) 2023-06-08 11:14:11 +08:00
go.mod feat: support to generate grpc payload as JSON (#264) 2023-11-03 14:13:43 +08:00
go.sum feat: support to generate grpc payload as JSON (#264) 2023-11-03 14:13:43 +08:00
main.go feat: add a HTTP request collector as atest extension (#85) 2023-06-07 22:59:47 +08:00

README.md

HTTP API record tool.

Usage

atest-collector --filter-path /answer/api/v1

It will start a HTTP proxy server, and set the server address to your browser proxy (such as: SwitchyOmega).

atest-collector will record all HTTP requests which has prefix /answer/api/v1, and save it to file sample.yaml once you close the server.

Features

  • Basic authorization
  • Upstream proxy
  • URL path filter
  • Support save response body or not