Create A K6 Performance Load Test for API Calls

The Test Lead
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”

Create Test Files

--

--

The Test Lead
The Test Lead

Written by The Test Lead

Lead SDET at fintech company in NYC. Visit personal page http://thetestinglead.com// Twitter @juss_bailey Youtube @The Test Lead

No responses yet