buger / goreplay

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.
https://goreplay.org
Other
18.59k stars 17 forks source link

add Headers to output_ws.go #1192

Closed ivan-stankov-salt-security closed 1 year ago

ivan-stankov-salt-security commented 1 year ago

Add custom Headers to WebSocketOutputConfig in output_ws.go.

I added unit test.

ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/buger/goreplay/1192/f50e0026/c67edc0d2cd49ba10bf29eddf81e4babe67c2412.svg)](https://app.codesee.io/r/reviews?pr=1192&src=https%3A%2F%2Fgithub.com%2Fbuger%2Fgoreplay) #### Legend CodeSee Map legend
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

buger commented 1 year ago

Makes sense 👌🏻