Skip to content
RED SAG Skills
easy5 pts · first answer countsperformance-testingk6

The k6 default function

In a k6 script, what is the role of the exported default function?

import http from 'k6/http'
import { sleep } from 'k6'

export default function () {
  http.get('https://test.example.com/')
  sleep(1)
}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions