title: QAF: '401 Unauthorized: Access is denied' when running script with NTLM request
body: <p>I already implemented the NTLMAuthClient class</p>
  <blockquote>
  <p>rest.client.impl=com.qmetry.qaf.automation.ws.client.NTLMAuthClient</p>
  </blockquote>
  <p>into the project properties but still getting the aforementioned error.</p>
  <p>Here is the JSON request template I am using and I am not sure whether the structure is what causes the error:</p>
  <pre><code>{
      &quot;headers&quot;:
      {
          &quot;Authorization&quot;:
          [
              {
                  &quot;username&quot;: &quot;${ntlm.user}&quot;,
                  &quot;password&quot;: &quot;${ntlm.password}&quot;
              },
              {
                  &quot;domain&quot;: &quot;${ntlm.domain}&quot;
              }
          ],
          &quot;Content-Type&quot;:&quot;application/json&quot;
      },
      
      &quot;endPoint&quot;: &quot;&quot;,
      &quot;baseUrl&quot;: &quot;${base_url}/api/data/v4/contacts(integrationkey='${clientNumber}')&quot;,
      &quot;method&quot;: &quot;PATCH&quot;,
      
      &quot;body&quot;:
      {
          &quot;userid&quot;: &quot;&quot;
      }
  }
  </code></pre>
  <p>And here's the response from the QMetry report:</p>
  <p><strong>Request</strong></p>
  <blockquote>
  <p>Client out-bound request  PATCH
  <a href="https://xxxx.com/CRMDEV2/api/data/v4/contacts(integrationkey=%27xxxx%27)" rel="nofollow noreferrer">https://xxxx.com/CRMDEV2/api/data/v4/contacts(integrationkey='xxxx')</a>
  Authorization: [{username=xxxx, password=xxxx},
  {domain=xxxx}]  Content-Type: application/json
  {&quot;userid&quot;:&quot;&quot;}</p>
  </blockquote>
  <p><strong>Reponse</strong></p>
  <blockquote>
  <p>Client in-bound response 401 REQ_ID:
  3d391170-40d7-4ea6-80ca-2531a7fe73ff Server: WWW-Authenticate: NTLM
  WWW-Authenticate: Negotiate Set-Cookie:
  ReqClientId=21490c2c-bdfe-4c00-9330-401ca0bb5811; expires=Thu,
  22-Oct-2071 11:59:11 GMT; path=/; secure; HttpOnly Content-Length: 49
  Date: Fri, 22 Oct 2021 11:59:11 GMT Content-Type: text/plain HTTP
  Error 401 - Unauthorized: Access is denied</p>
  </blockquote>
  <p>Appreciate the help.</p>
  <p><strong>QAF and Selenium version I am using:</strong></p>
  <blockquote>
  <p>QAF version: 2.1.14</p>
  <p>Selenium: 3.141.59</p>
  </blockquote>