Skip to content

Remote Triggered gRPC ping/load test #638

Answered by ldemailly
sighupper asked this question in Q&A
Discussion options

You must be logged in to vote

Here is a more complete example/answer; good question as it should be better documented (PRs welcome):

Server (if you need it accessed directly using https see https://github.com/fortio/proxy#fortio-proxy)

go install fortio.org/fortio@latest
fortio server & # starts server. can be a Kubernetes pod or docker container or running anywhere
# note in the output:
14:48:31 REST API on /fortio/rest/run, /fortio/rest/status, /fortio/rest/stop

Then trigger a grpc run: eg

$ curl  "http://localhost:8080/fortio/rest/run?url=https://grpc.fortio.org&runner=grpc&t=1s&qps=5" 
{
  "RunType": "GRPC Health",
  "Labels": "",
  "StartTime": "2022-10-30T14:55:23.403039-07:00",
  "RequestedQPS": "5",
  "Request…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ldemailly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants