LoadComplete: Why are simulated header values blank
The problem:
Replacing a value in the request header results in other header values to be blank.
The Scenario:
I have create a very simple scenario in which I log into a web application. This consists of displaying and processing a login page, and then sending the user to a dashboard page. The login and data retrieval for the dashboard is performed via several WCF API calls.
Actions Taken:
This login requires a username and password and returns a token in the response header.
Immediately after creating the scenario, I am able to verify successfully.
I am able to save the token to a variable (Variable1) on the Data Selectors tab for the reponse.
The problem presents itself when I use the variable (Variable1) to set the Auth-Token header value.
Results:
As seen in attachment (LC-Assignment.png), the Auth-Token header field is being replaced by the value contained in @Variable1.
As seen in attachment (LC-Test.png), the Auth-Token header field has successfully been populated, however there are several key header fields that are now blank in the Simulated column.