---
title: "HTTP Status Code | Speedscale Docs"
description: "Check HTTP status codes in your API responses with Speedscale to ensure they match expected values for accurate testing and validation."
canonical: "https://docs.speedscale.com/reference/configuration/assertions/httpstatuscode/"
---

[Documentation index](https://docs.speedscale.com/reference/llms.txt) | [Markdown](https://docs.speedscale.com/reference/configuration/assertions/httpstatuscode/index.md) | [Canonical page](https://docs.speedscale.com/reference/configuration/assertions/httpstatuscode/)

# HTTP Status Code

Compare the runtime value to the expected value for HTTP status.

This assertion checks the status code of an HTTP response and checks whether it matches the recorded value.

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

### Example[](https://docs.speedscale.com/reference/configuration/assertions/httpstatuscode/#example)

```javascript
{
  "type": "httpStatusCode", 
}
```

<a id="configuration-"></a>

### Configuration[](https://docs.speedscale.com/reference/configuration/assertions/httpstatuscode/#configuration)

None
