5

Can anyone tell me what is the unit of duration, found inside step.result captured inside cucumber reporting json? Is it millisecond, microsecond, nanosecond or anything else?

Wilfred Clement
  • 2,674
  • 2
  • 14
  • 29
Surodip
  • 457
  • 1
  • 8
  • 21

2 Answers2

3

It's nanos. Divide to 1'000'000'000 to get seconds value.

1       000     000     000

second  millis  micros  nanos

Source

DenisKolodin
  • 13,501
  • 3
  • 62
  • 65
-1

For me at least its Microseconds

I.e.

"Duration": 8303000000

Means 8.303 Seconds