You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The default exported function is gonna be picked up by k6 as the entry point for the test script. It will be executed repeatedly in "iterations" for the whole duration of the test.
12
+
export default function () {
13
+
// Make a GET request to the target URL
14
+
http.get('https://test-api.k6.io');
15
+
16
+
// Sleep for 1 second to simulate real-world usage
// The default exported function is gonna be picked up by k6 as the entry point for the test script. It will be executed repeatedly in "iterations" for the whole duration of the test.
9
+
exportdefaultfunction(){
10
+
// Make a GET request to the target URL
11
+
http.get('https://test-api.k6.io');
12
+
13
+
// Sleep for 1 second to simulate real-world usage
0 commit comments