Get launch completion structure
Gets the parameter structure for completing a test session
- Parameters
- Advanced call ?
Function GetLaunchCompletionStructure(Val Time, Val Status = "", Val Description = "", Val Attributes = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Time | --end | Date | ✔ | Launch end date and time |
| Status | --status | String | ✖ | Completion status: passed, failed, stopped, skipped, interrupted, cancelled |
| Description | --descr | String | ✖ | Launch description. Overwrites the one specified during creation |
| Attributes | --attr | String | ✖ | Launch attributes. Overwrites the one specified during creation |
Returns
Structure Of KeyAndValue - Fields structure
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Time = Date("20260101100000");
Status = "passed";
Description = "Some test";
Attributes = "key1:value1, key2:value2";
Result = OPI_ReportPortal.GetLaunchCompletionStructure(Time, Status, Description, Attributes);
- Bash
- CMD/Bat
oint rportal GetLaunchCompletionStructure \
--end "2026-01-01T20:00:00" \
--status "passed" \
--descr "Updated launch description"
oint rportal GetLaunchCompletionStructure ^
--end "2026-01-01T20:00:00" ^
--status "passed" ^
--descr "Updated launch description"
Result
{
"endTime": "2026-01-01T10:00:00",
"status": "passed",
"description": "Some test",
"attributes": "key1:value1, key2:value2"
}