我有一个.proto文件, 该项目的pb2和pb2_grpc文件。我如何才能实现类似REST的API测试之类的功能, 从而能够仅通过python中带有参数的方法来调用grpc请求?我见过像pytest-grpc, tavern-grpc这样的python模块, 但我仍然不知道如何实现它。例如我采用这种开源方案https://github.com/dialogs/api-schema
https://dialogs.github.io/api-schema/
来源:
https://www.srcmini02.com/57980.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_35254.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57