Capture session data from responses. Captures Set-Cookie headers and optionally other headers like Authorization. Stored data can be replayed using ApplySessionAction.
Evaluation scope defines the timing where this filter will be applied.
responseHeaderReceivedFromRemote This scope occurs the moment fluxzy has done parsing the response header.
captureSessionAction
This action has no specific characteristic
The following examples apply this action to any exchanges
Capture cookies from responses.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: CaptureSessionAction
captureCookies: true
captureHeaders: []
Capture cookies and Authorization header.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: CaptureSessionAction
captureCookies: true
captureHeaders:
- Authorization
Capture cookies and multiple custom headers.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: CaptureSessionAction
captureCookies: true
captureHeaders:
- Authorization
- X-CSRF-Token
- X-Auth-Token
View definition of CaptureSessionAction for .NET integration.
This action has no related action