manual:api:reference:httptest:create

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:api:reference:httptest:create [2016/09/28 07:26]
127.0.0.1 external edit
manual:api:reference:httptest:create [2020/08/26 06:02] (current)
martins-v internal link to data types (ZBX-17160)
Line 15: Line 15:
 Additionally to the [[object#​web_scenario|standard web scenario properties]],​ the method accepts the following parameters. Additionally to the [[object#​web_scenario|standard web scenario properties]],​ the method accepts the following parameters.
  
-^ Parameter ^ Type ^ Description ^+^ Parameter ^ [[:​manual/​api/​reference_commentary#​data_types|Type]] ^ Description ^
 | **steps** \\ (required) | array | Web scenario steps. | | **steps** \\ (required) | array | Web scenario steps. |
  
Line 29: Line 29:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 40: Line 40:
                 "​name":​ "​Homepage",​                 "​name":​ "​Homepage",​
                 "​url":​ "​http://​mycompany.com",​                 "​url":​ "​http://​mycompany.com",​
-                "​status_codes":​ 200,+                "​status_codes": ​"200",
                 "​no":​ 1                 "​no":​ 1
             },             },
Line 46: Line 46:
                 "​name":​ "​Homepage / About",​                 "​name":​ "​Homepage / About",​
                 "​url":​ "​http://​mycompany.com/​about",​                 "​url":​ "​http://​mycompany.com/​about",​
-                "​status_codes":​ 200,+                "​status_codes": ​"200",
                 "​no":​ 2                 "​no":​ 2
             }             }
Line 57: Line 57:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​