Add a monitor over a firewall

Description

Adds a monitor over a firewall.

URL

Copy code
/LoadTest/rest/domains/{domainName}/projects/{projectName}/mofw

Remarks

Body of the request should contain a resource folder description in xml.

HTTP Method

POST: Creates a monitor over a firewall.

Request

Headers:

Content-Type: application/xml

Cookies:

Version 2020 (or later)

LWSSO_COOKIE_KEY={LwssoCookie};

Versions earlier than 2020

LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

POST: An XML containing the monitor over a firewall.

An XML describing the monitor over a firewall.

The mandatory fields in the response are:

ElementDescription
NameName of the monitor over a firewall.
MachineKey

Machine key for the monitor over a firewall.

MIListenerIDID of the MI Listener machine.
FolderIDFolder ID.

Response

Headers:

One of:

  • Content-Type: application/xml
  • Content-Type: application/json

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

HTML Body:

The data on the entity in the response.

See Also

Get all monitors over a firewall
Get monitors over firewall by ID