I am working at the organization of adacel.jamacloud.com
I am currently updating our scripts from soap to rest. I am almost done but I do have a small problem.
With soap, I was updating the testrun.duration with suds with a python.time object as follow :
self.client.service.executeTestRun(self.auth, testRun.testRun.id,time, result,False,testRun.steps)
time was something like this : 0:01:03 (1 minute 3 seconds)
Now, I did not find the format of the duration that json needs. The following is the payload :
"status" : status
I already tried integer such as 1, 2 or 3, but it gives incorrect result. If I push 1, the duration shown on contour is 02:00:00, which doesn't make sense!
So, what is the format need for duration?
Thx a lot
Thanks for reaching out to us.
For our API, the duration field is in milliseconds as an integer. So if you were to set the duration to be exactly 1 minute 3 seconds, you would have it be 63000.
HEADQUARTERS|135 SW Taylor Suite 200, Portland, Oregon, 97204