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.42k stars 4 forks source link

File format description is outdated #1234

Open sabi0 opened 7 months ago

sabi0 commented 7 months ago

The "File format" section on wiki is outdated https://github.com/buger/goreplay/wiki/Saving-and-Replaying-from-file#file-format

1) A "meta information" line is missing before the second request (POST) in the example.

2) Documentation describes only three "meta information" values: payload type, request ID, timestamp. But the recorded files have four:

1 beb21f410a93305bf711861e 1678172411997745000 28000

3) Timestamp unit is not specified in the documentation. Example ("127345969") makes it seem it's in seconds. But the recorded values are in nanoseconds.

dosubot[bot] commented 7 months ago

🤖

Thank you for bringing this to our attention! It's great to see your interest in improving the documentation for GoReplay. Your observations are valuable, and it would be fantastic if you could contribute to the project by creating a pull request with the updated and accurate information. Your efforts will help improve the overall user experience and understanding of GoReplay. If you have any questions or need assistance with the process of creating a pull request, feel free to ask. Your contribution will be greatly appreciated!


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.