-
Problem report
-
Resolution: Fixed
-
Minor
-
7.0.0rc2
-
S24-W20/21, S24-W22/23
-
1
Problem description: If browser item that uses Safari browser collects performance entries, for some actions (like logout) the script fails with the following response:
{"duration":6.568601846694946,"error":{"http_status":500,"code":"javascript error","message":"cannot collect performance data: A JavaScript exception occured: cannot serialize cyclic structures."},....
Full response: response.txt
Steps to reproduce:
- Import the following host: browser_item_host_safari-1.yaml
- Open user macros for this host and specify the name of Your branch and the address of the machine where You have Your Zabbix installed
- Open configuration of the only item on this host
- Execute test functionality for this item
- Make sure that performance entries for open page and login marks are present and no errors are observed
- Open the script of this item and uncomment performance data collection on logout action (line 34)
- Execute test item functionality again
Result the previously mentioned error is returned along with performance data for "open page" and "login" marks.
Expected: Performance data for marks "open page", "login" and "logout" should be returned, no errors should be observed.
Result:
See screenshot...
See log file...
See memory dump...
Expected:
See screenshot....
See attached patch file...
- mentioned in
-
Page Loading...