Menu

This is documentation for the next version of K6. For the latest stable release, go to the latest version.

Open source

Single request

JavaScript
import http from 'k6/http';

export const options = {
  iterations: 1,
};

export default function () {
  const response = http.get('https://test-api.k6.io/public/crocodiles/');
}