Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to mock out grpc status code and headers? #125

Open
scvnc opened this issue Oct 13, 2022 · 2 comments
Open

How to mock out grpc status code and headers? #125

scvnc opened this issue Oct 13, 2022 · 2 comments

Comments

@scvnc
Copy link

scvnc commented Oct 13, 2022

I want to verify how my app behaves when the grpc status code is 9 and particular metadata headers (X-DETAIL-CODE) are being sent, as this is how I am tranmitting error details to my client.

It seems unclear how to do this with the json stub definition or if it's currently possible.

Thanks :)

@foreverest
Copy link

I would also be interested in mocking status codes.
There is also this old issue on that: #21.

@bsponge
Copy link

bsponge commented Aug 2, 2023

#144 I'm working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants