Run tests on agent

Run selected tests on the agent with provided configuration. If the agent configuration is provided, it will be used to override default agent configuration.

Parâmetros de caminho

agent_idstringObrigatório
The id of an agent. This is returned on agent creation.

Cabeçalhos

xi-api-keystringOpcional

Solicitação

This endpoint expects an object.
testslist of objectsObrigatório
List of tests to run on the agent
agent_config_overrideobjectOpcional
Configuration overrides to use for testing. If not provided, the agent's default configuration will be used.
branch_idstringOpcional
ID of the branch to run the tests on. If not provided, the tests will be run on the agent's main branch.
repeat_countintegerOpcional1-50Padrão é 1
Number of times to run each test. When greater than 1, results are grouped and summarized.

Resposta

Successful Response
idstring
test_runslist of objects
agent_idstringOpcional
branch_idstringOpcional
version_idstringOpcional
ran_against_draftbooleanOpcionalPadrão é false
created_atintegerOpcional
folder_idstringOpcional
repeat_countintegerOpcionalPadrão é 1
bucketing_statusenumOpcional

None when repeat_count==1 (no bucketing). Otherwise tracks bucketing lifecycle.

Valores permitidos:
result_groupslist of objectsOpcional

Erros

422
Agents Run Tests Request Unprocessable Entity Error