# Runscope

> Read BlazeMeter API Monitoring (Runscope) buckets, API tests, and historical test results.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/runscope

## Actions

### List buckets

Read the buckets visible to the connected account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Runscope.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "key": "examplebucket",
        "name": "Production APIs"
      }
    ],
    "meta": {
      "status": "success"
    }
  }
}
```

### List test results

Read one page of historical test results; use before or since for continuation.

**Inputs**

- Bucket key (`bucket_key`, text, required): Bucket key from List buckets.
- Test ID (`test_id`, text, required): Test ID from List tests.
- Count (`count`, number): Maximum number of records in this page. From 1 to 50.
- Since (`since`, number): Only results started after this Unix timestamp. At least 0.
- Before (`before`, number): Only results started before this Unix timestamp. At least 0.

**Outputs**

- `data` (object): The response from Runscope.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "finished_at": 1782900002.7,
        "result": "pass",
        "started_at": 1782900000.5,
        "test_id": "test-example",
        "test_run_id": "run-example"
      }
    ]
  }
}
```

### List tests

Read the API tests in a bucket.

**Inputs**

- Bucket key (`bucket_key`, text, required): Bucket key from List buckets.

**Outputs**

- `data` (object): The response from Runscope.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "test-example",
        "name": "Checkout API",
        "step_count": 3
      }
    ],
    "meta": {
      "status": "success"
    }
  }
}
```
