Skip to content

Commit 7bc0cff

Browse files
Edits to k6-net-grpc discardResponseMessage
1 parent da2ef64 commit 7bc0cff

File tree

1 file changed

+1
-1
lines changed
  • docs/sources/next/javascript-api/k6-net-grpc

1 file changed

+1
-1
lines changed

docs/sources/next/javascript-api/k6-net-grpc/params.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ _Params_ is an object used by the gRPC methods that generate RPC requests. _Para
1313

1414
| Name | Type | Description |
1515
| ------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
16+
| `Params.discardResponseMessage` | boolean | Specify if response messages should be discarded. This reduces the amount of memory required, and the amount of garbage collection, which reduces the load on the testing machine and can help produce more reliable test results. Default is `false`. |
1617
| `Params.metadata` | object | Object with key-value pairs representing custom metadata the user would like to add to the request. Values of [keys ending with `-bin`](https://grpc.io/docs/what-is-grpc/core-concepts/#metadata) will be treated as binary data. |
1718
| `Params.tags` | object | Key-value pairs where the keys are names of tags and the values are tag values. Response time metrics generated as a result of the request will have these tags added to them, allowing the user to filter out those results specifically, when looking at results data. |
1819
| `Params.timeout` | string / number | Request timeout to use. Default timeout is 60 seconds (`"60s"`). <br/> The type can also be a number, in which case k6 interprets it as milliseconds, e.g., `60000` is equivalent to `"60s"`. |
19-
| `Params.discardResponseMessage` | bool | Specify if response messages should be discarded, lessens the amount of memory required and the amount of garbage collection (GC) - reducing the load on the testing machine, and probably producing more reliable test results. Default is `false`. |
2020

2121
### Example of custom metadata headers and tags
2222

0 commit comments

Comments
 (0)