---
title: "http_req_cookie | Speedscale Docs"
description: "Extract HTTP cookies from request portions using the http_req_cookie function in Speedscale for efficient API testing and traffic replay."
canonical: "https://docs.speedscale.com/guides/transformation/extractors/http_req_cookie/"
---

[Documentation index](https://docs.speedscale.com/guides/llms.txt) | [Markdown](https://docs.speedscale.com/guides/transformation/extractors/http_req_cookie/index.md) | [Canonical page](https://docs.speedscale.com/guides/transformation/extractors/http_req_cookie/)

# http\_req\_cookie

<a id="purpose"></a>

### Purpose

**http\_req\_cookie** extracts an HTTP cookie from the request portion of the RRPair.

<a id="usage"></a>

### Usage

```json
"type": "http_req_cookie",
"config": {
    "name": "<cookie>"
}
```

*   **name** - the case-sensitive name of the HTTP cookie to extract

<a id="example"></a>

### Example

```json
"type": "http_req_cookie",
"config": {
    "name": "search_index"
}
```
