GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
linux, gor 1.3.3. commands are these '--input-raw ":80|100%" --output-file-append --output-file /mnt/cfs/1.gor --input-raw-buffer-size 52428800 --copy-buffer-size 104857600 --input-raw-engine raw_socket --input-raw-promisc'. but content contains response.
I don't need responses, How can I not record responses。
As follows:
2 893e00500b5dc83d4d759f1b 1684480278421475675 0
HTTP/1.1 200 OK
Server: openresty
Date: Fri, 19 May 2023 07:11:18 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Expires: Fri, 19 May 2023 07:11:18 GMT
Cache-Control: max-age=0
Content-Encoding: gzip
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Headers: *
linux, gor 1.3.3. commands are these '--input-raw ":80|100%" --output-file-append --output-file /mnt/cfs/1.gor --input-raw-buffer-size 52428800 --copy-buffer-size 104857600 --input-raw-engine raw_socket --input-raw-promisc'. but content contains response. I don't need responses, How can I not record responses。 As follows: 2 893e00500b5dc83d4d759f1b 1684480278421475675 0 HTTP/1.1 200 OK Server: openresty Date: Fri, 19 May 2023 07:11:18 GMT Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked Connection: close Vary: Accept-Encoding Expires: Fri, 19 May 2023 07:11:18 GMT Cache-Control: max-age=0 Content-Encoding: gzip Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET, POST, OPTIONS Access-Control-Allow-Headers: *
22 {"code":1,"msg":null,"content":[]} 0