title: web_submit_data doesn't replay in LoadRunner script (LR 11.50)
body: <p>I have an application, which converts any long URL to short URL like this: <code>https://{HOST}/short_link_name</code> and my goal is to make working script.</p>
  
  <p>User opens <code>https://{HOST}</code> in browser, passes the authentication form with credentials and sees the form for converting long URL to short URL. 
  The form consists of 3 input fields:</p>
  
  <pre><code>{long_URL} - is any long URL which user need to convert into short URL
  {short_URL_name} - is the name of link given by user for short URL
  and the 3rd isn't important in this context.
  </code></pre>
  
  <p>Then user click button for submitting data and can see the result - short URL link below this form.</p>
  
  <p>So, I made the manual script and the snippet of script is here:</p>
  
  <pre><code>web_url("{HOST}", 
      "URL=https://{HOST}/", 
      "Resource=0", 
      "RecContentType=text/html", 
      "Referer=", 
      "Mode=HTML", 
      EXTRARES, 
      "Url=//Grid/GetLinks?_dc=1383645884804&amp;page=1&amp;start=0&amp;limit=6", ENDITEM,
      "Url=//Grid/GetLinks?_dc=1383645898655&amp;page=1&amp;start=0&amp;limit=6", ENDITEM,
              "Url=/GetImage/Methodology?width=200&amp;height=200", ENDITEM,
      LAST);
  
  ... (verifying that my username is displayed on the application page = I'm logged in)
  
  web_submit_data("Register",
          "Action=https://{HOST}/UrlRegistration/Register", 
          "Method=POST", 
          "RecContentType=application/json", 
          "Referer=https://{HOST}/", 
          "Mode=HTML", 
          ITEMDATA, 
          "Name=ShortUrl", "Value={short_URL_name}", ENDITEM, 
          "Name=LongUrl", "Value=http://{long_URL}", ENDITEM, 
          "Name=Persistent", "Value=false", ENDITEM, 
          LAST);
  </code></pre>
  
  <p>Notes: </p>
  
  <p>1) the values like <code>_dc=1383645884804</code> are timestamp;</p>
  
  <p>2) I'm logged in application page successfully;</p>
  
  <p>3) <code>https://{HOST}/UrlRegistration/Register</code> doesn't physically exist in HTML-code of submitting form of application.</p>
  
  <p>The problem is, when I run script, for this snippet I have ERROR with next text:</p>
  
  <pre><code>Action.c(65): web_submit_data("Register") started
  Action.c(65): Error -26627: HTTP Status-Code=404 (Not Found) for "https://{HOST}/UrlRegistration/Register"
  Action.c(65): web_submit_data("Register") highest severity level was "ERROR", 1245 body bytes, 287 header bytes
  </code></pre>
  
  <p>The HTML snippet for this form:</p>
  
  <pre><code>&lt;form action="/" method="post"&gt;
   ...
  &lt;/form&gt;
  </code></pre>
  
  <p>Why I have this error with web_submit_data and what should I do to get correctly working script? Could you help me, please?</p>
  
  <p>With checked option "data returned by server" in extended log I have next:</p>
  
  <pre><code>Action.c(32): web_submit_data("Register") started   [MsgId: MMSG-26355]
  Action.c(32): t=123159ms: 308-byte response headers for "https://{HOST}/UrlRegistration/Register" (RelFrameId=1, Internal ID=22)
  Action.c(32):     HTTP/1.1 401 Unauthorized\r\n
  Action.c(32):     Cache-Control: private\r\n
  Action.c(32):     Content-Type: text/html\r\n
  Action.c(32):     Server: Microsoft-IIS/7.5\r\n
  Action.c(32):     X-AspNetMvc-Version: 4.0\r\n
  Action.c(32):     X-AspNet-Version: 4.0.30319\r\n
  Action.c(32):     WWW-Authenticate: Negotiate\r\n
  Action.c(32):     WWW-Authenticate: NTLM\r\n
  Action.c(32):     X-UA-Compatible: IE=Edge, chrome=1\r\n
  Action.c(32):     Date: Tue, 05 Nov 2013 10:15:18 GMT\r\n
  Action.c(32):     Content-Length: 1293\r\n
  Action.c(32):     \r\n
  Action.c(32): t=123229ms: 1293-byte response body for "https://{HOST}/UrlRegistration/Register" (RelFrameId=1, Internal ID=22)
  Action.c(32):     &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/
  Action.c(32):     xhtml1-strict.dtd"&gt;\r\n
  Action.c(32):     &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;\r\n
  Action.c(32):     &lt;head&gt;\r\n
  Action.c(32):     &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&gt;\r\n
  Action.c(32):     &lt;title&gt;401 - Unauthorized: Access is denied due to invalid credentials.&lt;/title&gt;\r\n
  Action.c(32):     &lt;style type="text/css"&gt;\r\n
  ...
  Action.c(32):     &lt;/style&gt;\r\n
  Action.c(32):     &lt;/head&gt;\r\n
  Action.c(32):     &lt;body&gt;\r\n
  Action.c(32):     &lt;div id="header"&gt;&lt;h1&gt;Server Error&lt;/h1&gt;&lt;/div&gt;\r\n
  Action.c(32):     &lt;div id="content"&gt;\r\n
  Action.c(32):      &lt;div class="content-container"&gt;&lt;fieldset&gt;\r\n
  Action.c(32):       &lt;h2&gt;401 - Unauthorized: Access is denied due to invalid credentials.&lt;/h2&gt;\r\n
  Action.c(32):       &lt;h3&gt;You do not have permission to view this directory or page using the credentials that you supplied.&lt;/h3&gt;\r\n
  Action.c(32):      &lt;/fieldset&gt;&lt;/div&gt;\r\n
  Action.c(32):     &lt;/div&gt;\r\n
  Action.c(32):     &lt;/body&gt;\r\n
  Action.c(32):     &lt;/html&gt;\r\n
  Action.c(32): t=123387ms: 506-byte response headers for "https://{HOST}/UrlRegistration/Register" (RelFrameId=1, Internal ID=22)
  Action.c(32):     HTTP/1.1 401 Unauthorized\r\n
  Action.c(32):     Content-Type: text/html; charset=us-ascii\r\n
  Action.c(32):     Server: Microsoft-HTTPAPI/2.0\r\n
  Action.c(32):     WWW-Authenticate: NTLM TlRMTVNTUAACAAAACgAKADgAAAAFgomiq9WGN92mlIoAAAAAAAAAAKwArABCAAAABgGxHQAAAA9NAEkATgBTAEsAAgAKAE0ASQBOAFMASwABABoARQBWAEIAWQBNAEkATgBTAEQANQAxADIAMQAEABwAbQBpAG4AcwBrAC4AZQBwAGEAbQAuAGMAbwBtAAMAOABFAFYAQgBZAE0ASQBOAFMARAA1ADEAMgAxAC4AbQBpAG4AcwBrAC4AZQBwAGEAbQAuAGMAbwBtAAUAEABlAHAAYQBtAC4AYwBvAG0ABwAIANN9tO0P2s4BAAAAAA==\r\n
  Action.c(32):     Date: Tue, 05 Nov 2013 10:15:18 GMT\r\n
  Action.c(32):     Content-Length: 341\r\n
  Action.c(32):     \r\n
  Action.c(32): t=123447ms: 341-byte response body for "https://{HOST}/UrlRegistration/Register" (RelFrameId=1, Internal ID=22)
  Action.c(32):     &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"&gt;\r
  Action.c(32):     \n
  Action.c(32):     &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Not Authorized&lt;/TITLE&gt;\r\n
  Action.c(32):     &lt;META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"&gt;&lt;/HEAD&gt;\r\n
  Action.c(32):     &lt;BODY&gt;&lt;h2&gt;Not Authorized&lt;/h2&gt;\r\n
  Action.c(32):     &lt;hr&gt;&lt;p&gt;HTTP Error 401. The requested resource requires user authentication.&lt;/p&gt;\r\n
  Action.c(32):     &lt;/BODY&gt;&lt;/HTML&gt;\r\n
  Action.c(32): t=123586ms: 287-byte response headers for "https://{HOST}/UrlRegistration/Register" (RelFrameId=1, Internal ID=22)
  Action.c(32):     HTTP/1.1 404 Not Found\r\n
  Action.c(32):     Cache-Control: private, s-maxage=0\r\n
  Action.c(32):     Content-Type: text/html\r\n
  Action.c(32):     Server: Microsoft-IIS/7.5\r\n
  Action.c(32):     X-AspNetMvc-Version: 4.0\r\n
  Action.c(32):     X-AspNet-Version: 4.0.30319\r\n
  Action.c(32):     Persistent-Auth: true\r\n
  Action.c(32):     X-UA-Compatible: IE=Edge, chrome=1\r\n
  Action.c(32):     Date: Tue, 05 Nov 2013 10:15:18 GMT\r\n
  Action.c(32):     Content-Length: 1245\r\n
  Action.c(32):     \r\n
  Action.c(32): t=123645ms: 1245-byte response body for "https://{HOST}/UrlRegistration/Register" (RelFrameId=1, Internal ID=22)
  Action.c(32):     &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/
  Action.c(32):     xhtml1-strict.dtd"&gt;\r\n
  Action.c(32):     &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;\r\n
  Action.c(32):     &lt;head&gt;\r\n
  Action.c(32):     &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&gt;\r\n
  Action.c(32):     &lt;title&gt;404 - File or directory not found.&lt;/title&gt;\r\n
  Action.c(32):     &lt;style type="text/css"&gt;\r\n
  ...
  Action.c(32):     &lt;/style&gt;\r\n
  Action.c(32):     &lt;/head&gt;\r\n
  Action.c(32):     &lt;body&gt;\r\n
  Action.c(32):     &lt;div id="header"&gt;&lt;h1&gt;Server Error&lt;/h1&gt;&lt;/div&gt;\r\n
  Action.c(32):     &lt;div id="content"&gt;\r\n
  Action.c(32):      &lt;div class="content-container"&gt;&lt;fieldset&gt;\r\n
  Action.c(32):       &lt;h2&gt;404 - File or directory not found.&lt;/h2&gt;\r\n
  Action.c(32):       &lt;h3&gt;The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.&lt;/h3&gt;\r\n
  Action.c(32):      &lt;/fieldset&gt;&lt;/div&gt;\r\n
  Action.c(32):     &lt;/div&gt;\r\n
  Action.c(32):     &lt;/body&gt;\r\n
  Action.c(32):     &lt;/html&gt;\r\n
  Action.c(32): Error -26627: HTTP Status-Code=404 (Not Found) for "https://{HOST}/UrlRegistration/Register"      [MsgId: MERR-26627]
  Action.c(32): web_submit_data("Register") highest severity level was "ERROR", 2879 body bytes, 1101 header bytes    [MsgId: MMSG-26388]
  </code></pre>
  
  <p>Does the timestamp affect on error appearing?</p>