HTTP Client reference
The client
object holds the HTTP Client session metadata, such as the list of global variables. The HTTP Client session is started when WebStorm starts, and ends when WebStorm is closed. Values are not preserved between WebStorm restarts.
The client
provides access to the global nested object that serves as a variable storage.
Properties
Property | Description |
---|---|
| The global variables storage, which is used for setting, retrieving, or removing variables. Once you assign a value to a global variable ( |
Methods
Method | Parameters | Description |
---|---|---|
|
| Creates a test with the name |
|
| Checks that the specified |
|
| Prints |
| — | Terminates execution of the response handler script. |
Global variables storage
The global
object serves as a variable storage and is used for setting, retrieving, or removing variables. These variables are global because, once set, they can be accessed from any HTTP request.
Methods
Method | Parameters | Description |
---|---|---|
|
| Saves the variable with the |
|
| Returns the value of the |
| Checks whether the | |
|
| Removes the |
| Removes all variables from the variables storage. |