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

httptest.get shows tags as empty arrays

    XMLWordPrintable

Details

    • Problem report
    • Resolution: Won't fix
    • Trivial
    • None
    • 6.0.2
    • Frontend (F)
    • None

    Description

      Steps to reproduce:

      1. using api sending the following
        {
        "jsonrpc":"2.0",
        "method":"httptest.get",
        "params":{
        "httptestids":"5314",
        "inherited":false,
        "selectTags":true,
        "selectSteps":true
        },
        "auth":"auth",
        "id":1
        }

         
        I get the following result:

       {
          "jsonrpc": "2.0",
          "result": [
              {
                  "httptestid": "5314",
                  "name": "Login to to /api/v1/authn",
                  "nextcheck": "0",
                  "delay": "60",
                  "status": "0",
                  "agent": "ZabbxiMonitorAgent",
                  "authentication": "0",
                  "http_user": "",
                  "http_password": "",
                  "hostid": "14001",
                  "templateid": "0",
                  "http_proxy": "",
                  "retries": "1",
                  "ssl_cert_file": "",
                  "ssl_key_file": "",
                  "ssl_key_password": "",
                  "verify_peer": "0",
                  "verify_host": "0",
                  "uuid": "95517114df3042ec9f0029b8db2e6131",
                  "headers": [
                      {
                          "name": "Host",
                          "value": " fakehostname.com"
                      },
                      {
                          "name": "Accept",
                          "value": " application/json"
                      },
                      {
                          "name": "Content-Type",
                          "value": " application/json"
                      }
                  ],
                  "variables": [
                      {
                          "name": "{password}",
                          "value": "junkpassword"
                      },
                      {
                          "name": "{username}",
                          "value": "junkusernaem"
                      }
                  ],
                  "steps": "1",
                  "tags": [
                      [],
                      [],
                      []
                  ]
              }
          ],
          "id": 1
      }

      I'm expecting to see the value of the tags like in the UI, but instead I'm seeing just three place holders for where the tags should be. 

      Attachments

        Activity

          People

            igorbach Igor Gorbach
            bunkzilla bunkzilla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: