Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24523

Collecting performance entries with Browser item of Safari fails for some particular action performance measuring

XMLWordPrintable

    • 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:

      1. Import the following host: browser_item_host_safari-1.yaml
      2. 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
      3. Open configuration of the only item on this host
      4. Execute test functionality for this item
      5. Make sure that performance entries for open page and login marks are present and no errors are observed
      6. Open the script of this item and uncomment performance data collection on logout action (line 34)
      7. 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...

        1. Browser_item_host_safari_cant_find_element.yaml
          3 kB
          Sergejs Olonkins
        2. browser_item_host_safari-1.yaml
          3 kB
          Sergejs Olonkins
        3. response.txt
          4 kB
          Sergejs Olonkins
        4. Safari_cant_locate_All_dashboards_element.gif
          11.32 MB
          Sergejs Olonkins
        5. zabbix_server_crash_during_item_disabling.log
          656 kB
          Sergejs Olonkins
        6. zabbix_server_log_safari_cant_find_element.yaml
          3 kB
          Sergejs Olonkins

            wiper Andris Zeila
            solonkins Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: