Blazemeter

Learn how to use Blazemeter with Composio

Overview

SLUG: BLAZEMETER

Description

BlazeMeter is a continuous testing platform that enables users to create, run, and analyze performance and functional tests for web and mobile applications.

Connecting to Blazemeter

Create an auth config

Use the dashboard to create an auth config for the Blazemeter toolkit. This allows you to connect multiple Blazemeter accounts to Composio for agents to use.

1

Select App

Navigate to the Blazemeter toolkit page and click “Setup Integration”.

2

Configure Auth Config Settings

Select among the supported auth schemes of and configure them here.

3

Create and Get auth config ID

Click “Create Integration”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database. This ID will be used to create connections to the toolkit for a given user.

Tools

Executing tools

Python
1from composio import Composio
2from openai import OpenAI
3import json
4
5openai = OpenAI()
6composio = Composio()
7
8# User ID must be a valid UUID format
9user_id = "0000-0000-0000" # Replace with actual user UUID from your database
10
11tools = composio.tools.get(user_id=user_id, toolkits=["BLAZEMETER"])
12
13print("[!] Tools:")
14print(json.dumps(tools))
15
16def invoke_llm(task = "What can you do?"):
17 completion = openai.chat.completions.create(
18 model="gpt-4o",
19 messages=[
20 {
21 "role": "user",
22 "content": task, # Your task here!
23 },
24 ],
25 tools=tools,
26 )
27
28 # Handle Result from tool call
29 result = composio.provider.handle_tool_calls(user_id=user_id, response=completion)
30 print(f"[!] Completion: {completion}")
31 print(f"[!] Tool call result: {result}")
32
33invoke_llm()

Tool List

Tool Name: Get Multi Test

Description

Tool to retrieve details of a specific multi-test. use after creating or listing multi-tests when you need full configuration and status. minimal example: "get multi-test 12345678 with populated tests."

Action Parameters

collectionId
integerRequired
populateTests
boolean

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Tests

Description

Tool to retrieve a list of single tests within a specified project or workspace. use when you need to list tests after organizing them. example: "get tests for projectid=prj-5678".

Action Parameters

limit
integer
offset
integer
projectId
string
sort
array
workspaceId
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create API Monitoring Schedule

Description

Tool to create a new schedule for running api monitoring tests. use when you need to automate test runs at defined intervals after determining the correct cron expression and test or collection id.

Action Parameters

cron
stringRequired
testCollectionId
integer
testId
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Multi Test

Description

Tool to create a new multi-test within a specified project. use after confirming the project id. example: "create a multi-test named 'load-test' in project 12345."

Action Parameters

collectionType
stringDefaults to multiV4
name
stringRequired
projectId
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Project

Description

Tool to create a new project. use when you need to initialize a project in a specific workspace. use after confirming the workspace id.

Action Parameters

description
string
name
stringRequired
workspaceId
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create Test

Description

Tool to create a new single test within a specified project. use when registering a new performance test via api.

Action Parameters

configuration
objectRequired
name
stringRequired
projectId
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Delete API Monitoring Schedule

Description

Tool to delete a specific test schedule by its id. use when you need to remove a scheduled test by its unique schedule identifier.

Action Parameters

schedule_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Accounts

Description

Tool to retrieve a list of accounts associated with the authenticated user. use after confirming valid authentication.

Action Parameters

limit
integer
sort
array

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get API Monitoring Schedule

Description

Tool to retrieve details of a specific api monitoring schedule by its id. use when you need to inspect the configuration or timing of an existing schedule.

Action Parameters

schedule_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get API Monitoring Schedules

Description

Tool to retrieve a list of all test schedules in your account. use when you need to enumerate existing schedules to manage or review them.

Action Parameters

accountId
integer
collectionId
integer
enabled
boolean
limit
integer
projectId
integer
skip
integer
testId
integer
workspaceId
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Multi Tests

Description

Tool to retrieve a list of multi-tests within a specified project or workspace. use when you need to enumerate available multi-tests by specifying a project or workspace id.

Action Parameters

limit
integer
projectId
integer
sort
array
workspaceId
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Projects

Description

Tool to retrieve a list of projects within a specified workspace. use when you need to enumerate or page through projects under a given workspace.

Action Parameters

limit
integer
offset
integer
sort
string
workspaceId
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Test Validations

Description

Tool to retrieve validation results for a specific test by its id. use after uploading or modifying test files to confirm file validation status.

Action Parameters

testId
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get User

Description

Tool to retrieve information about the authenticated user. use when you need the current user's profile and have valid authentication.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get Workspaces

Description

Tool to retrieve a list of workspaces for a specified account. use when you need to list or filter workspaces by account, status, or name.

Action Parameters

accountId
integerRequired
enabled
boolean
textFilter
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Stop Master

Description

Tool to stop a specific test execution (master) by its id. use when you need to abort a running test.

Action Parameters

master_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update API Monitoring Schedule

Description

Tool to update the configuration of an existing api monitoring schedule. use when you need to enable or disable a schedule after confirming its id.

Action Parameters

enabled
booleanRequired
schedule_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update Test

Description

Tool to update details of a specific test by its id. use when you need to modify test configuration or name of an existing test after confirming its id. example: "update the test name to 'loadtest' for test with id '12345'."

Action Parameters

configuration
object
name
string
test_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Upload Test Files

Description

Tool to upload files to a specific test by its id. use after creating or selecting a test to attach scripts or resources before execution.

Action Parameters

files
arrayRequired
testId
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Validate Test

Description

Tool to validate a specific test by its id. use after creating or updating a test to ensure its configuration is valid.

Action Parameters

testId
Required

Action Response

data
objectRequired
error
string
successful
booleanRequired