This method allows to create new web scenarios.
Creating a web scenario will automatically create a set of .
Parameters
(object/array)
Web scenarios to create.
Additionally to the , the method accepts the following parameters.
Examples
Creating a web scenario
Create a web scenario to monitor the company home page. The scenario will have two steps, to check the home page and the “About” page and make sure they return the HTTP status code 200.
Request:
"jsonrpc": "2.0",
"result": {
"httptestids": [
]
},
"id": 1
Source
CHttpTest::create() in ui/include/classes/api/services/CHttpTest.php.