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 RubyMine starts, and ends when RubyMine is closed. Values are not preserved between RubyMine restarts.
The client
provides access to the global nested object that serves as a variables storage.
Properties
Property | Description |
---|---|
| The global variables storage, which is used for setting, retrieving, or removing variables. In your HTTP requests, you can access a variable saved in the |
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 variables storage and is used for setting, retrieving, or removing variables.
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. |