是否可以像rest一样对grpc进行测试?

2024-04-29 15:45:48 发布

您现在位置:Python中文网/ 问答频道 /正文

有没有可能对grpc进行测试,就像用python中的requests模块对post/get请求进行测试一样?我见过pytest grpc、tavern grpc等python模块,但我不知道如何使用它来发出请求和检查响应。谢谢


Tags: 模块getgrpcpytestpostrequests发出请求tavern