Skip to content

Commit 0b6192d

Browse files
using-k6, minor sentence trims
1 parent 1394bb3 commit 0b6192d

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

src/data/markdown/translated-guides/en/02 Using k6/01 HTTP requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'HTTP Requests'
33
excerpt: 'Define the HTTP requests and methods you want to use. k6 adds tags to the requests, making it easier to filter results. You can customize tags as you wish.'
44
---
55

6-
When you create a new load test, you'll often first define the HTTP requests that you will use to test your system.
6+
When testers create new load test, the first step is often to define the HTTP requests to test the system with.
77

88
## Making HTTP Requests
99

src/data/markdown/translated-guides/en/02 Using k6/08 Tags and Groups.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ filter your test results.'
77
A load test usually targets a service with different subsystems and resources.
88
This can make it hard to pinpoint the issues that are degrading performance.
99

10-
k6 provides two scripting APIs to help you visualize, sort, and filter your test results.
10+
To help you visualize, sort, and filter your test results, k6 adds the following to your results.
1111

1212
- *Tags* categorize your checks, thresholds, custom metrics, and requests for in-depth filtering.
1313
- *Groups* apply tags to the script's functions.
@@ -23,10 +23,10 @@ Tags are a powerful way to categorize your k6 entities and filter test results.
2323

2424
k6 provides two types of tags:
2525

26-
- *System tags* are tags that k6 automatically assigns.
27-
- *User-defined* tags are tags that you add when you write your script.
26+
- **System tags.** Tags that k6 automatically assigns.
27+
- **User-defined tags.** Tags that you add when you write your script.
2828

29-
## System tags
29+
### System tags
3030

3131
Currently, k6 automatically creates the following tags by default:
3232

@@ -47,9 +47,12 @@ Currently, k6 automatically creates the following tags by default:
4747
| `service` | the RPC service name for gRPC |
4848
| `expected_response` | `true` or `false` based on the [responseCallback](/javascript-api/k6-http/setresponsecallback/); by default checks whether the status is 2xx or 3xx |
4949

50-
To disable some of the above tags, you can use the [`systemTags` option](/using-k6/k6-options/reference/#system-tags).
51-
Keep in mind that some data collectors (e.g. `cloud`) may require certain tags.
52-
You can also enable some additional system tags if you need them:
50+
To disable some of the preceding tags, use the [`systemTags` option](/using-k6/k6-options/reference/#system-tags).
51+
Note that some data collectors, for example `cloud` runs, may require certain tags.
52+
53+
54+
55+
The following system tags are optional. You can enable them if you you need them:
5356

5457
| Tag | Description |
5558
| ------------- | --------------------------------------------------------------------------------------------------------------------------------- |
@@ -60,7 +63,7 @@ You can also enable some additional system tags if you need them:
6063

6164
## User-defined tags
6265

63-
You can define your own tags to categorize k6 entities based on your test logic.
66+
Define your own tags to categorize k6 entities based on your test logic.
6467
You can tag the following entities:
6568

6669
- requests
@@ -166,9 +169,10 @@ export default function () {
166169

167170
## Tagging stages
168171

169-
Thanks to some helper functions in the [k6-jslib-utils](/javascript-api/jslib/utils) project, if an executor supports the `stages` option, then a tag can be added with the current ongoing stage. Similar to the other ways for tagging, the tag will be added to all the samples collected during the iteration.
172+
Thanks to some helper functions in the [k6-jslib-utils](/javascript-api/jslib/utils) project, if an executor supports the `stages` option, you can add tags with the current ongoing stage.
173+
Similar to other tags tag, the tag is added to all samples collected during the iteration.
170174

171-
The first way for tagging the executed operations is invoking the `tagWithCurrentStageIndex` function for setting a `stage` tag for identifying the stage that has executed them:
175+
One way to tag the executed operations is to invoke the `tagWithCurrentStageIndex` function for setting a `stage` tag for identifying the stage that has executed them:
172176

173177
```javascript
174178
import http from 'k6/http';
@@ -219,7 +223,7 @@ The profile value based on the current stage can be one of the following options
219223
| `steady` | The current stage has a target equal to the previous stage's target |
220224
| `ramp-down` | The current stage has a target less than the previous stage's target |
221225

222-
### Tags in results output
226+
## Tags in results output
223227

224228
<CodeGroup labels={["output.js"]} lineNumbers={[true]}>
225229

@@ -258,7 +262,7 @@ To see how tags affect your test-result output, refer to the [k6 results output
258262

259263
## Groups
260264

261-
For extra organization, you can use *groups* to organize a load script by functions.
265+
For extra organization, use *groups* to organize a load script by functions.
262266
You can also nest groups for BDD-style testing.
263267

264268
All metrics emitted in a [group](/javascript-api/k6/group/) have the tag `group` with a value of all wrapping group names separated by `::` (two colons).

0 commit comments

Comments
 (0)