News for hackers. Stuff that matters.
Re:Launch HN: Codeparrot (YC W23) – Automated API testing us... by LeonidBugaev on Saturday March 18, 2023 @11:21AM (#35209788)
I love to see more activity in this area!

I'm maintainer of GoReplay https://github.com/buger/goreplay and work in this area for the last 10 years.

It is quite hard problem to solve, because you have to deal with state difference between test and production environments. Love your approach to mocking dependencies, and leveraging OpenTelementry. It potentially can solve some of state issues. But still require modifying user code. I wonder if it can be done purely using OpenTelementry (e.g. you depend on typical OTel setup), and then read the data directly from OTel DB.

Cheers!

Re:Launch HN: Codeparrot (YC W23) – Automated API testing us... by pradeep_bishnoi on Saturday March 18, 2023 @11:47AM (#35210038)
thank you Leonid for the GoReplay. A great ecosystem of products will be built on top of it.
Re:Launch HN: Codeparrot (YC W23) – Automated API testing us... by LeonidBugaev on Saturday March 18, 2023 @12:40PM (#35210588)
I hope so! But I also hope that I will be also able to monetise some of this movent. GoReplay dual licensed under AGPL and Commercial license. I also sell special appliance licenses.

If anyone in this thread wants to build a product based on GoReplay technology (capture network traffic directly, via AWS Traffic Mirroring or k8s), sent me message :)

Re:Launch HN: Codeparrot (YC W23) – Automated API testing us... by royal0203 on Saturday March 18, 2023 @03:46PM (#35212436)
Go replay has been one of the inspiration Leonid, so glad you checked out CodeParrot :)

Typical Otel implementation don’t capture some request data esp parameters and replay part is missing among few other issues, so we need to extend it.

Re:Launch HN: Codeparrot (YC W23) – Automated API testing us... by vedant_ag on Saturday March 18, 2023 @10:04PM (#35215256)
Thanks Leonid! Your vote of confidence means a lot.

OTel for go requires user code changes. Languages that allow monkey-patching (java, js, python, etc.).

> I wonder if it can be done purely using OpenTelementry (e.g. you depend on typical OTel setup), and then read the data directly from OTel DB.

OTel doesn't work out of the box. OTel usually doesn't collect request or response for any network or db call. 90% of my time is spent on extending the individual agents' code; so that they can collect additional required information, and perform "replay".