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

As a stubserver consumer I want to be able to verify how often a specific stub has been called #14

Open
jordi133 opened this issue Nov 30, 2015 · 1 comment
Assignees

Comments

@jordi133
Copy link
Collaborator

under construction

@jeanmarc
Copy link
Contributor

Proposal: have the actors send a message to a statistics-collector, which can then be queried for information.
consumers can ask on the manager port for endpoint statistics by GET-ting /castalia/manager/endpoints/statistics.
That will respond with a json like:
{ "statistics": [
{"endpoint": "stub/path/$parm",
"summary": { "calls": 12345 }
},
{"endpoint": "another/stub",
"summary": {"calls": 0 }
}]
}

Optional: provide details for the known responses of an endpoint (array with {"ids" : {...}, "calls": nn} )

Optional: provide details for the httpStatusCodes per endpoint (array with {"httpStatusCode" : nn, "calls": mm} )

? What about duration statistics (actual min, max, average, p95, p99 values)

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

No branches or pull requests

4 participants