Solution for candidate test BE v 1.2 May 2018
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
go language pack ApacheBench
-run go install in the directory -run the produced executable
the given tests where the following: ab -c 3 -n 10 'http://127.0.0.1:8080/player/1' ab -c 3 -n 10 'http://127.0.0.1:8080/player/2'
curl ‘http://127.0.0.1:8080/statistic
to test manually:
where N is the number of a player
then open http://127.0.0.1:8080/statistic to see a summary of the results
- Note: Considered somewhat vague, the app was made under the assumption that the query parameter used on each call is the number recieved from the previous call to ELK no matter the player it was made from. *