You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|endTime | Optional | rpClient.helpers.now() | End time of the launch. |
185
185
|status | Optional | '' | Status of launch, one of '', 'PASSED', 'FAILED', 'STOPPED', 'SKIPPED', 'INTERRUPTED', 'CANCELLED'. |
186
186
187
187
### getPromiseFinishAllItems
@@ -264,7 +264,7 @@ The method takes three arguments:
264
264
|type | Required || Test item type, one of 'SUITE', 'STORY', 'TEST', 'SCENARIO', 'STEP', 'BEFORE_CLASS', 'BEFORE_GROUPS','BEFORE_METHOD', 'BEFORE_SUITE', 'BEFORE_TEST', 'AFTER_CLASS', 'AFTER_GROUPS', 'AFTER_METHOD', 'AFTER_SUITE', 'AFTER_TEST' |
265
265
|hasStats | Optional | true | Changes behavior for test item of type 'STEP'. When set to `true`, step is treaten as a test case (entity containig statistics). When false, step becomes a nested step. |
266
266
|description | Optional | '' | Description of the test item (supports markdown syntax). |
267
-
|startTime | Optional | rpClient.helpers.now() | Start time of the test item (Unix Epoch time, see [time format](#time-format)). |
267
+
|startTime | Optional | rpClient.helpers.now() | Start time of the test item (unix time). |
268
268
|attributes | Optional |[]| Array of the test item attributes. |
269
269
270
270
* launch `tempId` (returned by the method `startLaunch`)
@@ -288,8 +288,8 @@ The method takes two arguments:
| description | Optional | config.description or 'Merged launch' | Description of the launch (supports markdown syntax). |
371
371
| attributes | Optional | config.attributes or []| Array of launch attributes (tags). |
372
-
| endTime | Optional | rpClient.helpers.now() | End time of the launch (Unix Epoch time, see [time format](#time-format)).|
372
+
| endTime | Optional | rpClient.helpers.now() | End time of the launch (unix time) |
373
373
| extendSuitesDescription | Optional | true | Whether to extend suites description or not. |
374
374
| launches | Optional | ids of the launches saved to filesystem | The array of the real launch ids, not UUIDs |
375
375
| mergeType | Optional | 'BASIC' | The type of the merge operation. Possible values are 'BASIC' or 'DEEP'. |
376
376
| mode | Optional | config.mode or 'DEFAULT' | 'DEFAULT' - results will be submitted to Launches page, 'DEBUG' - results will be submitted to Debug page. |
377
377
| name | Optional | config.launch or 'Test launch name' | Name of the launch after merge. |
378
378
379
-
## Time format
380
-
381
-
The unix Epoch time ISO string.
382
-
383
-
The [ReportPortal since product version 24.2]() (Service API version 5.12.0) supports the time with microsecond precision in the ISO string format (`2024-09-23T11:10:46.793546Z`).
384
-
Thus, it is recommended to report time in this format to have more accurate logs and test items order on the ReportPortal UI.
385
-
386
-
**Note:** Reporting the time in ISO string format with millisecond precision (`2024-09-23T11:10:46.793Z`) or as a number of milliseconds (`1727089846793`) is also acceptable with microseconds automatically added as zeros on ReportPortal's API service for backward compatibility.
387
-
388
-
The client use time with microsecond precision in the ISO string format by default since [version 5.3.0]().
389
-
390
379
# Copyright Notice
391
380
392
381
Licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
0 commit comments