-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 7.0.22
-
Component/s: Server (S)
-
None
Hello,
I believe there is a logic error in the "Website by Browser" template regarding the unit conversion for navigation timing items.{}
The dependent item Navigation resource fetch time (and potentially other timing items) has a preprocessing step Custom multiplier: 0.001. However, the master item (the script that retrieves data) appears to already return the value in Seconds, not Milliseconds.
As a result, the value is divided by 1000 twice, resulting in an incorrect, extremely small value.
Steps to reproduce:
- Import the "Website by Browser" template.
- Configure a host with a valid URL and execute the master item.
- Check the raw JSON output from the master item.
- Observed Value Example: 0.45 (This represents 0.45 seconds). - Check the calculated value of the dependent item Navigation resource fetch time.
Preprocessing: Custom multiplier 0.001.
Result:
Result: 0.00045 (This is incorrect; it implies 0.45 milliseconds).
Expected:
The preprocessing step Custom multiplier: 0.001 should be removed if the script returns Seconds. OR The script should return Milliseconds (standard W3C format) to match the preprocessing configuration.