I have request that sometimes give the http_req_duration time in seconds, sometimes in milli seconds and sometimes in micro seconds because of which I am not getting correct collective time when I am visualizing data. Can someone please help how in the code we can get all the time in seconds.
Do we have any such function in k6 yet through which we can convert all the time that we are getting in k6 reports into single unit, what’s happening now is some of the time I am getting in milli seconds, some in micro seconds and some in seconds so its difficult to convert the units in minutes. Can anyone please recommend any method that I can utilize from k6 to do this