code: static public String createMonitor(XPathContext context, String monitorUrl,
              String localName, String namespaceURI, NodeInfo params,
              NodeInfo parserInstruction, String modifiesResponse, String callId,
              TECore core) throws Exception {
          MonitorCall mc = monitors.get(monitorUrl);
          mc.setContext(context);
          mc.setLocalName(localName);
          mc.setNamespaceURI(namespaceURI);
          mc.setCore(core);
          if (params != null) {
              Node node = (Node) NodeOverNodeInfo.wrap(params);
              if (node.getNodeType() == Node.DOCUMENT_NODE) {
                  mc.setParams(((Document) node).getDocumentElement());
              } else {
                  mc.setParams((Element) node);
              }
          }
          if (parserInstruction != null) {
              Node node = (Node) NodeOverNodeInfo.wrap(parserInstruction);
              if (node.getNodeType() == Node.DOCUMENT_NODE) {
                  mc.setParserInstruction(((Document) node).getDocumentElement());
              } else {
                  mc.setParserInstruction((Element) node);
              }
              mc.setModifiesResponse(Boolean.parseBoolean(modifiesResponse));
          }
          mc.setCallId(callId);
          LOGR.log(Level.CONFIG, "Configured monitor with test:\n {0}", mc);
          return "";
      }
docs: Monitor that triggers a test