Skip to content

Commit 0bf6366

Browse files
authored
Update README.md
1 parent d6d179e commit 0bf6366

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ The `utils` functions are logically grouped in nested classes (namespaces) and i
3232
## Folder level functions
3333
Use folder level functions to run test or pre-request code attached to test collection folders (not request scripts). Folder level functions are grouped under the `utils.run` namespace and include:
3434
* [utils.run.once](#utilsrunonce):
35-
Invokes code in the specified custom inline function once per collection test run.
35+
Invokes code in the specified custom inline function once per test collection run.
3636
* [utils.run.always](#utilsrunalways):
37-
Invokes code in the specified custom inline function for every request during collection test run.
37+
Invokes code in the specified custom inline function for every request during test collection run.
3838

3939
### Parameters
4040
The following parameters are common to all folder level functions:
@@ -49,7 +49,7 @@ Inline function containing the code to be executed once or always.
4949
Optional function containing code to be executed on error in the `process` function.
5050

5151
### `utils.run.once`
52-
Invokes code in the specified custom inline function once per collection test run.
52+
Invokes code in the specified custom inline function once per test collection run.
5353

5454
#### Prototype
5555
```JavaScript
@@ -60,14 +60,14 @@ Initialize settings for the test collection run in the collection folder's pre-r
6060

6161
```JavaScript
6262
utils.run.once(pm, "Client_Credentials_Flow_Tests", function() {
63-
console.log("This code will be executed once in the begining of the collection test run.");
63+
console.log("This code will be executed once in the begining of the test collection run.");
6464
}, function() {
6565
console.log("This code will be executed if an error occurs in code above.");
6666
});
6767
```
6868

6969
### `utils.run.always`
70-
Invokes code in the specified custom inline function for every request during collection test run.
70+
Invokes code in the specified custom inline function for every request during test collection run.
7171

7272
#### Prototype
7373
```JavaScript
@@ -597,7 +597,7 @@ Trace functions belong to the `utils.trace` namespace and are divided into two g
597597
* [Trace logging](#trace-logging)
598598

599599
### Trace initialization
600-
To set the trace level (which will be stored in an environment variable for the duration of the collection test run), call one of the trace initialization functions from the test collection's pre-request folder (you only need to do this once). Trace initialization functions belong to the `utils.trace.set` namespace and include:
600+
To set the trace level (which will be stored in an environment variable for the duration of the test collection run), call one of the trace initialization functions from the test collection's pre-request folder (you only need to do this once). Trace initialization functions belong to the `utils.trace.set` namespace and include:
601601

602602
* `utils.trace.set.none(pm)`:
603603
Sets trace level to `0`.

0 commit comments

Comments
 (0)