k6

A modern load testing tool, using Go and JavaScript

"like unit testing, for performance"

k6 is a modern load testing tool, building on Load Impact's years of experience. It provides a clean, approachable JavaScript scripting API, distributed and cloud execution, and orchestration via a REST API.

Get Started    Documentation

Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

get( url, [params] )

Make a GET request.

Parameter
Type
Description

url

string

Request URL (e.g. "http://example.com").

params (optional)

object

Params object containing additional request parameters.

Returns:

Type
Description

Response

HTTP Response object.

import http from "k6/http";

export default function() {
  let res = http.get("https://loadimpact.com");
};
  

Fetching a URL

get( url, [params] )