srpc icon indicating copy to clipboard operation
srpc copied to clipboard

Support in API testing tool linuxsuren/api-testing

Open LinuxSuRen opened this issue 1 year ago • 7 comments

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.

LinuxSuRen avatar Dec 21 '23 11:12 LinuxSuRen

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 ^_^

holmes1412 avatar Dec 21 '23 11:12 holmes1412

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

LinuxSuRen avatar Dec 21 '23 11:12 LinuxSuRen

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?

holmes1412 avatar Dec 21 '23 11:12 holmes1412

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:

  • Describe the srpc request and the expected response in YAML format
  • Send the request data in Golang
  • Compare the response whether match with the expected

LinuxSuRen avatar Dec 21 '23 12:12 LinuxSuRen

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.

holmes1412 avatar Dec 21 '23 12:12 holmes1412

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! 🛠️

habibur4340 avatar Feb 04 '24 17:02 habibur4340

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

LinuxSuRen avatar Feb 05 '24 01:02 LinuxSuRen