@jaws2k thanks for your question.
If I undertood you correctly, you’re trying to interact with a classic ASP.NET application.
Parsing and posting
First of all, setup IterateWebRequest action and enable “Return response as the action result” (Response tab) . Thats will create a new column named Response-Body.
A sample response:
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="MEWFNTAm/8bEuMZaLk3LhgHJ1stgbqFmmw8lqghrR6eJgEpvBUvP00+F0Mlox2Lj2UUDtRoTFA9Zbk4OdmOcTjL+sW/9BxnGJh9dXhWqwH8=" />
Next, caclulate a new column named __VIEWSTATE:
To send VIEWSTATE back, create another IterateWebRequest action. Set Request method to POST. Configure action Body to Form and add new values. Set __VIEWSTATE as name and bind it to __VIEWSTATE column calculated on a previour step.
Add other required fields.
Pay attention that large viewstate could be chunked into multiple hidden fields by your server.
Transfering cookies from server to client carried out by header Set-Cookie. Respectively, a new column Set-Cookie will be added to the table.
All cookies that were set by the server are automatically sent back from the client on each request. For that purposes a special CookieContainer is used. But CookieContainer will be recreated after each call of Run/RunAction/ReloadNRun, so you should start all actions (Reload and run) together and not one-by-one, otherwise container will be empty. For now, there is no way to set a custom cookie defined by user (even by using header ‘Cookie’).