File tree Expand file tree Collapse file tree 10 files changed +50
-30
lines changed
src/data/markdown/translated-guides/en/02 Using k6 Expand file tree Collapse file tree 10 files changed +50
-30
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ That code would produce JSON output like this:
165
165
{{< code >}}
166
166
167
167
``` json
168
+ // For http://example.com/1, note that the url is not present in the JSON.
169
+
168
170
{
169
171
"type" :" Point" ,
170
172
"metric" :" http_req_duration" ,
@@ -175,12 +177,12 @@ That code would produce JSON output like this:
175
177
"method" :" GET" ,
176
178
"name" :" PostsItemURL" ,
177
179
"status" :" 200" ,
178
- "url" :" http://example.com/1 "
180
+ "url" :" PostsItemURL "
179
181
}
180
182
}
181
183
}
182
184
183
- // and
185
+ // and for http://example.com/2
184
186
185
187
{
186
188
"type" :" Point" ,
@@ -192,7 +194,7 @@ That code would produce JSON output like this:
192
194
"method" :" GET" ,
193
195
"name" :" PostsItemURL" ,
194
196
"status" :" 200" ,
195
- "url" :" http://example.com/2 "
197
+ "url" :" PostsItemURL "
196
198
}
197
199
}
198
200
}
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ That code would produce JSON output like this:
158
158
{{< code >}}
159
159
160
160
``` json
161
+ // For http://example.com/1, note that the url is not present in the JSON.
162
+
161
163
{
162
164
"type" :" Point" ,
163
165
"metric" :" http_req_duration" ,
@@ -168,12 +170,12 @@ That code would produce JSON output like this:
168
170
"method" :" GET" ,
169
171
"name" :" PostsItemURL" ,
170
172
"status" :" 200" ,
171
- "url" :" http://example.com/1 "
173
+ "url" :" PostsItemURL "
172
174
}
173
175
}
174
176
}
175
177
176
- // and
178
+ // and for http://example.com/2
177
179
178
180
{
179
181
"type" :" Point" ,
@@ -185,7 +187,7 @@ That code would produce JSON output like this:
185
187
"method" :" GET" ,
186
188
"name" :" PostsItemURL" ,
187
189
"status" :" 200" ,
188
- "url" :" http://example.com/2 "
190
+ "url" :" PostsItemURL "
189
191
}
190
192
}
191
193
}
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ That code would produce JSON output like this:
158
158
{{< code >}}
159
159
160
160
``` json
161
+ // For http://example.com/1, note that the url is not present in the JSON.
162
+
161
163
{
162
164
"type" :" Point" ,
163
165
"metric" :" http_req_duration" ,
@@ -168,12 +170,12 @@ That code would produce JSON output like this:
168
170
"method" :" GET" ,
169
171
"name" :" PostsItemURL" ,
170
172
"status" :" 200" ,
171
- "url" :" http://example.com/1 "
173
+ "url" :" PostsItemURL "
172
174
}
173
175
}
174
176
}
175
177
176
- // and
178
+ // and for http://example.com/2
177
179
178
180
{
179
181
"type" :" Point" ,
@@ -185,7 +187,7 @@ That code would produce JSON output like this:
185
187
"method" :" GET" ,
186
188
"name" :" PostsItemURL" ,
187
189
"status" :" 200" ,
188
- "url" :" http://example.com/2 "
190
+ "url" :" PostsItemURL "
189
191
}
190
192
}
191
193
}
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ That code would produce JSON output like this:
158
158
{{< code >}}
159
159
160
160
``` json
161
+ // For http://example.com/1, note that the url is not present in the JSON.
162
+
161
163
{
162
164
"type" :" Point" ,
163
165
"metric" :" http_req_duration" ,
@@ -168,12 +170,12 @@ That code would produce JSON output like this:
168
170
"method" :" GET" ,
169
171
"name" :" PostsItemURL" ,
170
172
"status" :" 200" ,
171
- "url" :" http://example.com/1 "
173
+ "url" :" PostsItemURL "
172
174
}
173
175
}
174
176
}
175
177
176
- // and
178
+ // and for http://example.com/2
177
179
178
180
{
179
181
"type" :" Point" ,
@@ -185,7 +187,7 @@ That code would produce JSON output like this:
185
187
"method" :" GET" ,
186
188
"name" :" PostsItemURL" ,
187
189
"status" :" 200" ,
188
- "url" :" http://example.com/2 "
190
+ "url" :" PostsItemURL "
189
191
}
190
192
}
191
193
}
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ That code would produce JSON output like this:
158
158
{{< code >}}
159
159
160
160
``` json
161
+ // For http://example.com/1, note that the url is not present in the JSON.
162
+
161
163
{
162
164
"type" :" Point" ,
163
165
"metric" :" http_req_duration" ,
@@ -168,12 +170,12 @@ That code would produce JSON output like this:
168
170
"method" :" GET" ,
169
171
"name" :" PostsItemURL" ,
170
172
"status" :" 200" ,
171
- "url" :" http://example.com/1 "
173
+ "url" :" PostsItemURL "
172
174
}
173
175
}
174
176
}
175
177
176
- // and
178
+ // and for http://example.com/2
177
179
178
180
{
179
181
"type" :" Point" ,
@@ -185,7 +187,7 @@ That code would produce JSON output like this:
185
187
"method" :" GET" ,
186
188
"name" :" PostsItemURL" ,
187
189
"status" :" 200" ,
188
- "url" :" http://example.com/2 "
190
+ "url" :" PostsItemURL "
189
191
}
190
192
}
191
193
}
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ That code would produce JSON output like this:
158
158
{{< code >}}
159
159
160
160
``` json
161
+ // For http://example.com/1, note that the url is not present in the JSON.
162
+
161
163
{
162
164
"type" :" Point" ,
163
165
"metric" :" http_req_duration" ,
@@ -168,12 +170,12 @@ That code would produce JSON output like this:
168
170
"method" :" GET" ,
169
171
"name" :" PostsItemURL" ,
170
172
"status" :" 200" ,
171
- "url" :" http://example.com/1 "
173
+ "url" :" PostsItemURL "
172
174
}
173
175
}
174
176
}
175
177
176
- // and
178
+ // and for http://example.com/2
177
179
178
180
{
179
181
"type" :" Point" ,
@@ -185,7 +187,7 @@ That code would produce JSON output like this:
185
187
"method" :" GET" ,
186
188
"name" :" PostsItemURL" ,
187
189
"status" :" 200" ,
188
- "url" :" http://example.com/2 "
190
+ "url" :" PostsItemURL "
189
191
}
190
192
}
191
193
}
Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ That code would produce JSON output like this:
165
165
{{< code >}}
166
166
167
167
``` json
168
+ // For http://example.com/1, note that the url is not present in the JSON.
169
+
168
170
{
169
171
"type" :" Point" ,
170
172
"metric" :" http_req_duration" ,
@@ -175,12 +177,12 @@ That code would produce JSON output like this:
175
177
"method" :" GET" ,
176
178
"name" :" PostsItemURL" ,
177
179
"status" :" 200" ,
178
- "url" :" http://example.com/1 "
180
+ "url" :" PostsItemURL "
179
181
}
180
182
}
181
183
}
182
184
183
- // and
185
+ // and for http://example.com/2
184
186
185
187
{
186
188
"type" :" Point" ,
@@ -192,7 +194,7 @@ That code would produce JSON output like this:
192
194
"method" :" GET" ,
193
195
"name" :" PostsItemURL" ,
194
196
"status" :" 200" ,
195
- "url" :" http://example.com/2 "
197
+ "url" :" PostsItemURL "
196
198
}
197
199
}
198
200
}
Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ That code would produce JSON output like this:
165
165
{{< code >}}
166
166
167
167
``` json
168
+ // For http://example.com/1, note that the url is not present in the JSON.
169
+
168
170
{
169
171
"type" :" Point" ,
170
172
"metric" :" http_req_duration" ,
@@ -175,12 +177,12 @@ That code would produce JSON output like this:
175
177
"method" :" GET" ,
176
178
"name" :" PostsItemURL" ,
177
179
"status" :" 200" ,
178
- "url" :" http://example.com/1 "
180
+ "url" :" PostsItemURL "
179
181
}
180
182
}
181
183
}
182
184
183
- // and
185
+ // and for http://example.com/2
184
186
185
187
{
186
188
"type" :" Point" ,
@@ -192,7 +194,7 @@ That code would produce JSON output like this:
192
194
"method" :" GET" ,
193
195
"name" :" PostsItemURL" ,
194
196
"status" :" 200" ,
195
- "url" :" http://example.com/2 "
197
+ "url" :" PostsItemURL "
196
198
}
197
199
}
198
200
}
Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ That code would produce JSON output like this:
165
165
{{< code >}}
166
166
167
167
``` json
168
+ // For http://example.com/1, note that the url is not present in the JSON.
169
+
168
170
{
169
171
"type" :" Point" ,
170
172
"metric" :" http_req_duration" ,
@@ -175,12 +177,12 @@ That code would produce JSON output like this:
175
177
"method" :" GET" ,
176
178
"name" :" PostsItemURL" ,
177
179
"status" :" 200" ,
178
- "url" :" http://example.com/1 "
180
+ "url" :" PostsItemURL "
179
181
}
180
182
}
181
183
}
182
184
183
- // and
185
+ // and for http://example.com/2
184
186
185
187
{
186
188
"type" :" Point" ,
@@ -192,7 +194,7 @@ That code would produce JSON output like this:
192
194
"method" :" GET" ,
193
195
"name" :" PostsItemURL" ,
194
196
"status" :" 200" ,
195
- "url" :" http://example.com/2 "
197
+ "url" :" PostsItemURL "
196
198
}
197
199
}
198
200
}
Original file line number Diff line number Diff line change @@ -156,6 +156,8 @@ That code would produce JSON output like this:
156
156
<CodeGroup labels={[ ] } lineNumbers={[ true] }>
157
157
158
158
``` json
159
+ // For http://example.com/1, note that the url is not present in the JSON.
160
+
159
161
{
160
162
"type" :" Point" ,
161
163
"metric" :" http_req_duration" ,
@@ -166,12 +168,12 @@ That code would produce JSON output like this:
166
168
"method" :" GET" ,
167
169
"name" :" PostsItemURL" ,
168
170
"status" :" 200" ,
169
- "url" :" http://example.com/1 "
171
+ "url" :" PostsItemURL "
170
172
}
171
173
}
172
174
}
173
175
174
- // and
176
+ // and for http://example.com/2
175
177
176
178
{
177
179
"type" :" Point" ,
@@ -183,7 +185,7 @@ That code would produce JSON output like this:
183
185
"method" :" GET" ,
184
186
"name" :" PostsItemURL" ,
185
187
"status" :" 200" ,
186
- "url" :" http://example.com/2 "
188
+ "url" :" PostsItemURL "
187
189
}
188
190
}
189
191
}
You can’t perform that action at this time.
0 commit comments