Skip to content

Commit bb103aa

Browse files
Ivan Mirićimiric
authored andcommitted
Clarify what "failed HTTP requests" means for the --throw option
Some users were confused about the meaning of "failed HTTP requests" in the context of the --throw option, so this should hopefully clarify it. This is also confusing since we have the http_req_failed metric, which actually refers to requests that received a specific response code, but there's not much we can do about that now...
1 parent 880da06 commit bb103aa

File tree

1 file changed

+1
-1
lines changed
  • src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options

1 file changed

+1
-1
lines changed

src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ export const options = {
13161316
## Throw
13171317

13181318
A boolean, true or false, specifying whether k6 should throw exceptions when certain errors occur, or if it should just log them with a warning. Behaviors that currently depend on this option:
1319-
- failed [HTTP requests](/javascript-api/k6-http/)
1319+
- failing to make [HTTP requests](/javascript-api/k6-http/), e.g. due to a network error
13201320
- adding invalid values to [custom metrics](/using-k6/metrics/#custom-metrics)
13211321
- setting invalid [per-VU metric tags](/javascript-api/k6-execution/#tags)
13221322

0 commit comments

Comments
 (0)