Skip to content

Commit ce08df1

Browse files
authored
Update README.md
1 parent cce6b58 commit ce08df1

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
@@ -88,11 +88,11 @@ utils.run.always(pm, "Client_Credentials_Flow_Tests", function() {
8888
## Primary test functions
8989
Use primary test functions to initialize and execute tests. Primary test functions are grouped under the `utils.test` namespace and include:
9090
* [utils.test.initialize](#utilstestinitialize):
91-
Use to initialize request data in the pre-request script.
91+
Use to initialize request data in pre-request scripts.
9292
* [utils.test.positive](#utilstestpositive):
93-
Use to execute a positive test.
93+
Use to execute positive tests.
9494
* [utils.test.negative](#utilstestnegative):
95-
Use to execute a negative test.
95+
Use to execute negative tests.
9696
* [utils.test.neutral](#utilstestneutral):
9797
Use if you need to execute additional tests that must run separately from the primary (positive or negative) test defined for a request.
9898

@@ -109,7 +109,7 @@ Inline function containing the code to be executed (this function is optional fo
109109
The optional error handler that can be handy if you need to implement special logic (like stopping test execution or skipping to a specific test) on operation failure in the default or custom `process` function.
110110

111111
### `utils.test.initialize`
112-
Use this function to initialize request data in the pre-request script.
112+
Use to initialize request data in pre-request scripts.
113113

114114
#### Prototype
115115
```JavaScript
@@ -126,7 +126,7 @@ utils.test.initialize(pm, null, function() {
126126
```
127127

128128
### `utils.test.positive`
129-
Use this function to run a negative tests. By default, it will check the response's HTTP status code against the specified value. If the returned HTTP status code matches the expected value, this function will call additional custom code if one is specified via the `process` parameter.
129+
Use to run negative tests. By default, it will check the response's HTTP status code against the specified value. If the returned HTTP status code matches the expected value, this function will call additional custom code if one is specified via the `process` parameter.
130130

131131
#### Prototype
132132
```JavaScript
@@ -165,7 +165,7 @@ utils.test.positive(pm, null, 200, function() {
165165
```
166166

167167
### `utils.test.negative`
168-
Use this function to run negative tests. By default, it will check the response's HTTP status code against the specified value. If the returned HTTP status code matches the expected value, this function will also check the value of the `serviceCode` (or similar) property defined in the data object returned in HTTP response. You can also add additional checks in the custom code defined in the `process` parameter.
168+
Use to run negative tests. By default, it will check the response's HTTP status code against the specified value. If the returned HTTP status code matches the expected value, this function will also check the value of the `serviceCode` (or similar) property defined in the data object returned in HTTP response. You can also add additional checks in the custom code defined in the `process` parameter.
169169

170170
#### Prototype
171171
```JavaScript

0 commit comments

Comments
 (0)