Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Show response time in the response panel #125

Open
danielbcorreia opened this issue Jun 29, 2016 · 7 comments
Open

Show response time in the response panel #125

danielbcorreia opened this issue Jun 29, 2016 · 7 comments

Comments

@danielbcorreia
Copy link
Contributor

We should show the actual response time in the response panel (swagger-ui has it!)

@cguedes
Copy link
Contributor

cguedes commented Jun 29, 2016

I don't think this should be there by default, but where should we put that in the current UI?

We should think in a way to able custom projects to enhance the response panel with extra info.

@danielbcorreia
Copy link
Contributor Author

We can show it next to the HTTP Status Code, I don't think that this needs to be done via plugin but we can do it either way.

If we use the plugin approach we can also do it in a tab widget, but in that case it should be a bit more complex and have history and other details (otherwise the tab will be almost empty) 😄

@cguedes
Copy link
Contributor

cguedes commented Jun 29, 2016

In one of the projects I'm working on, the response time is available as an HTTP Response Header, that is displayed near the response panel.

@danielbcorreia
Copy link
Contributor Author

But is that response time mesured on the server or on the client side? Using an HTTP header to represent the client-mesured response time seems a bit odd for me.

@cguedes
Copy link
Contributor

cguedes commented Jun 29, 2016

Server time. The client time is not that important, I guess.

@danielbcorreia
Copy link
Contributor Author

But in this case the APIs don't necessarily measure the time, or expose it. So that's why the client-measured time is important here. Most web clients like this have a similar feature from what I've seen.

@cguedes
Copy link
Contributor

cguedes commented Jun 29, 2016

Agree. Can you mock (and paste image) a sample UI for this?

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

No branches or pull requests

2 participants