Flowdock

An integration Session instance represents a set of requests and responses performed sequentially by some virtual user. 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 IntegrationTest#open_session, rather than instantiating Integration::Session directly.

Constants

DEFAULT_HOST = "www.example.com"

Attributes

[W] host
[RW] remote_addr

The remote_addr used in the last request.

[RW] accept

The Accept header to send.

[R] controller

A reference to the controller instance used by the last request.

[R] request

A reference to the request instance used by the last request.

[R] response

A reference to the response instance used by the last request.

[RW] request_count

A running counter of the number of requests processed.

Show files where this class is defined (1 file)
Register or log in to add new notes.