Skip to content

Commit fc9c352

Browse files
[feat]smooth get started text
1 parent 2631624 commit fc9c352

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/data/markdown/translated-guides/en/01 Get started/03 Running k6.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ For a test to run, you need to have *init code*, which prepares the test, and *V
9595

9696
Code in the init context defines functions and configures the test options (like `duration`).
9797

98-
Every test also has a `default` function.
99-
This function defines the logic for your VUs.
98+
Every test also has a `default` function,
99+
which defines the VU logic.
100100

101101
<CodeGroup labels={[]}>
102102

@@ -111,8 +111,9 @@ export default function () {
111111
</CodeGroup>
112112

113113
Init code runs first and is called only once per VU.
114-
On the other hand, default code executes as many times as the test options set.
115-
To learn more, read about [The test lifecycle](/using-k6/test-lifecycle).
114+
The `default` code runs as many times or as long as is configured in the test options.
115+
116+
To learn more about how k6 executes, read about the [Test lifecycle](/using-k6/test-lifecycle).
116117

117118
## Set options {#using-options}
118119

0 commit comments

Comments
 (0)