sogou / srpc

RPC framework based on C++ Workflow. Supports SRPC, Baidu bRPC, Tencent tRPC, thrift protocols.
Apache License 2.0
1.93k stars 382 forks source link

Support in API testing tool linuxsuren/api-testing #353

Open LinuxSuRen opened 8 months ago

LinuxSuRen commented 8 months ago

linuxsuren/api-testing is an API testing and development tool which support tRPC, gRPC, GraphQL, and HTTP protocols. Please feel free to add srpc support as well.

holmes1412 commented 8 months ago

Thanks for inviting ! srpc is a C++ RPC project, so I'm afraid it is not applicable to the project you mentioned.
Have a good day ^_^

LinuxSuRen commented 8 months ago

I see srpc could send the request over HTTP from the readme. It is possible if it is true.

holmes1412 commented 8 months ago

Yes, you‘re right. srpc can send HTTP protocol requests.
But from what I understand is that api-testing is a project to test different network protocols?
Secondly, how to add srpc as a C++ project to this go project?

LinuxSuRen commented 8 months ago

I can implement it in Golang to send the srpc request if you could give me some clues or the relevant documents. If I understand it correctly, it might be like this:

holmes1412 commented 8 months ago

Thanks for the explanation, very specific~ I read the grpc-sample.yml and the steps sound reasonable.

srpc protocol: https://github.com/sogou/srpc/wiki#2-rpc-protocol-layer, if you are interested, you may check it out.

habibur4340 commented 7 months ago

Hey @LinuxSuRen 👋,

Just came across our ongoing discussion about bolstering our API testing strategy and thought it might be worthwhile to consider an additional tool alongside Linuxsuren/api-testing. While linuxsuren/api-testing has been great for our needs, I recently had the chance to explore Apidog for another project, and it's been a fantastic complement for API testing.

Apidog offers a really intuitive interface and extensive testing capabilities that could enhance our current setup. It's particularly good at simplifying complex testing scenarios and providing detailed insights that could help us catch issues earlier in the development cycle.

Might be worth exploring Apidog as a supplementary tool to see if it can bring additional value to our API testing efforts. It's easy to set up and could potentially save us a lot of time and hassle in the long run.

Would love to hear your thoughts on this!

Cheers! 🛠️

LinuxSuRen commented 7 months ago

hi @habibur4340 thanks for letting me konw a new great tool. I'll give it a try.