Create A K6 Performance Load Test for API Calls
5 min readNov 14, 2022
Install
First, you must install K6, this is pretty straightforward via the command line. Follow the official documentation here
Once started, lets launch it!
Open up your command line and then navigate to what ever folder has the K6 program, usually program files, type in the following:
“K6 version”-and then press enter
“K6 help”-and then press enter
Your screen should look like this
This shows that everything was set up correctly!
Now lets start making our test files! Create a new folder called “TestFiles”