Custom k6 Load Tests in Containers
Contents
After covering the basics about k6 and ACIs, we still haven’t run our own tests. We saw that k6 can grab a JavaScript load test file from the web, and initiate requests to the endpoint(s) specified there. It means we can do the same and host a test file ourselves in our GitHub repo or anywhere else where it’s publicly accessible!
Before doing that though… Let’s see how to write these tests.
The brief anatomy of the k6 test scripts
The basic test provided by the team is only a few lines. This is the file we were using for the load tests in our Container Instance.
|
|
Coming soon
The rest of the article will be available on 21/May.
Coming up: Azure Container Registry, ACI secrets