- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8
- 3.0.0 (0)
- 3.0.9 (-38)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (0)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (0)
- 5.1.7 (0)
- 5.2.3 (0)
- 6.0.0 (0)
- 6.1.3.1 (0)
- 6.1.7.7 (0)
- 7.0.0 (0)
- 7.1.3.2 (-29)
- 7.1.3.4 (0)
- What's this?
An instance of this class represents a set of requests and responses performed sequentially by a test process. Because you can instantiate multiple sessions and run them side-by-side, you can also mimic (to some limited extent) multiple simultaneous users interacting with your system.
Typically, you will instantiate a new session using Runner#open_session, rather than instantiating a Session directly.
Constants
DEFAULT_HOST = "www.example.com"
Attributes
[W] | host! | |
[RW] | request_count |
A running counter of the number of requests processed. |
[R] | response |
A reference to the response instance used by the last request. |
[R] | request |
A reference to the request instance used by the last request. |
[R] | controller |
A reference to the controller instance used by the last request. |
[RW] | accept |
The Accept header to send. |
[RW] | remote_addr |
The remote_addr used in the last request. |
[W] | host |