Location2=3
- Last UpdatedFeb 14, 2023
- 1 minute read
If Location2 is 3, the required keyword is DEVICE=. Its value specifies an HTTP server; for example,
DEVICE=www.mycompany.com
By default, the interface assumes that the specified HTTP server uses port 80. If the HTTP server is not using port 80, specify the port number using the optional PORT= keyword. For example,
DEVICE=www.mycompany.com; PORT=2080;
By default, the interface expects a reply that contains the text HTTP/1.1. If the user wants the interface to expect another reply, specify this text using the optional REPLY= keyword. For example,
DEVICE=www.mycompany.com; REPLY=Forbidden;
Note that PI TCPResponse can measure the response time of an HTTP server only. That is, the interface cannot measure the response time required to load a particular page on an HTTP server.