Skip to main content

Get launch items

Gets the test items of the selected test session

Function GetLaunchItems(Val URL, Val Token, Val Project, Val LaunchID, Val Page = 1) Export

ParameterCLI optionTypeRequiredDescription
URL--urlStringReportPortal server URL
Token--tokenStringAccess token
Project--projStringProject ID
LaunchID--idNumberLaunch ID
Page--pageNumberList page number
Returns

Map Of KeyAndValue - serialized JSON response from ReportPortal

1C:Enterprise/OneScript code example
URL = "tests.openintegrations.dev";
Token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX25hbWUiOiJzdXBlcmFkbWluIiwic2NvcGVzIjpbInVpIl0sImV4cCI6MTc2MjAwMDI3NiwiaWF0IjoxNzYxOTEzODc2LCJqdGkiOiI0NTI3YTc5OS0wN2...";
LaunchID = "";
Project = "Test";

Result = OPI_ReportPortal.GetLaunchItems(URL, Token, Project, LaunchID);
oint rportal GetLaunchItems \
--url "tests.openintegrations.dev" \
--token "***" \
--proj "Test" \
--id 237
Result
{
"content": [],
"page": {
"number": 1,
"size": 30,
"totalElements": 0,
"totalPages": 0
}
}