RPfrimmer
13 years agoOccasional Contributor
Maintaining HTTP Sessions when RunTest case test step
Hi All,
I'm running into an issue that I'm not sure how to handle.
The as part of the session management for the web services I'm working against, it requires the HTTP session to be maintained throughout the entire test case I'm building.
I found the option "Maintain HTTP Session" in the test case options and initially this has worked great, but I've run into a bit of a hiccup.
In order to try to make building future test cases more streamlined I started to build modular test cases that would be called from other test cases to minimize the effort of having to add all the same steps over and over.
I've run into an issue where it appears that when the main test case calls the modular piece, it is not maintaining the same HTTP session. It looks like the modular piece initiates its own HTTP session.
Does anyone know a way around this? or am I fated to have to add all the test steps manually every time I need them?
Rob
I'm running into an issue that I'm not sure how to handle.
The as part of the session management for the web services I'm working against, it requires the HTTP session to be maintained throughout the entire test case I'm building.
I found the option "Maintain HTTP Session" in the test case options and initially this has worked great, but I've run into a bit of a hiccup.
In order to try to make building future test cases more streamlined I started to build modular test cases that would be called from other test cases to minimize the effort of having to add all the same steps over and over.
I've run into an issue where it appears that when the main test case calls the modular piece, it is not maintaining the same HTTP session. It looks like the modular piece initiates its own HTTP session.
Does anyone know a way around this? or am I fated to have to add all the test steps manually every time I need them?
Rob