Get & Set Cookie - Advice/Best Approach Assistance
Been racking my brain with documentation for days on this one and need to move on from it or find different ways to achieve this.
So our web application gives the logged-in user a few unique identifiers post login that are set in the header. ASP.Net, {company specific UID}, __RequestVerificationToken. I don't want to pretend that I understand why we need all of them, but I have compared session headers and these are the ones I need to get & hold while the test(s) run [while keeping browser window open].
Test Scenario:
- Login (user with specific permissions)
- Navigate to pages throughout application
- Verify each page responds with a 200 Response
I have read all the SmartBear documentation on helper objects aqHttp, aqHttpRequest, aqHttpResponse, XMLHttpRequest, etc. and I just cannot nail it down for getting it accomplished.
TestComplete ver.12.50.4142.7
Anyone out there that has accomplished something similar or can lend advice?
Thanks in advance.
-D
Sounds like you're trying to test things at the API level, and while Test Complete does off some API testing functionality, you would be much better off with ReadyAPI / SoapUI for something like this.