Performance Testing Using hey
Last updated
Last updated
is a tiny program that sends some load to a web application. You can use it to run simple performance testing. Please check hey for command line options.
Setup environment variables.
NOTE: The base URL in your cluster might be different than this. Also, if you're running hey
outside the cluster then the base URL should be the same as Service Registry's route.
Testing create artifact API.
Create a payload i.e. file to be used for testing.
Run hey
command to execute the test.
Sample output:
Testing get artifact API.
Grab one of schema ID from the Service Registry web console and export as an environment variable.
Run hey
command to execute the test.
Sample output: