Some of my Postman/Newman tests have an elapsed time of 0.000s which causes TestRail to throw the error: “Field :elapsed is not in a valid time span format.”. It is particularly prevalent on cases that test invalid requests to an endpoint i.e tests that tend to run quickly. This is using Newman to run the tests during an Octopus deployment of the service.
Is there some minimum elapsed time that TestRail can accept and if its any faster than that the elapsed time will be rounded down? Even if this were the case it seems unlikely that the test would run faster than 0.001 seconds.
The tests run fine through Postman on my machine.
EDIT: I should probably also mention that when this happens, the test appears as ‘Untested’ in the test run.
EDIT2: In one of the test suites that this issue occurs, the error is thrown for the only case that takes less that 100ms to run (13ms) when I run it through the Postman desktop client.