User-specified replies
- Last UpdatedFeb 14, 2023
- 1 minute read
Many of the operations mentioned above, for example: HTTP server response, allow you to tell the interface to expect a custom text string in the reply from the server. In particular, when measuring HTTP server response time, the interface normally expects a reply that contains the text HTTP/1.1. However, some HTTP servers require a username/password, and the reply sent will not contain HTTP/1.1, but perhaps text such as 403 Forbidden. You can tell the interface to expect the text 403 Forbidden using the keyword REPLY= in the point's InstrumentTag.
To find out the actual response from the server, set the point's Location5 value to 4. The interface will then print the server response to the message logs. See the topic: Troubleshooting common problems for more details.