cbyndr
16 years agoContributor
for amf requests, secure token not available despite maintaining http session
I am putting together a test suite for a Flex application.
All users of this flex application are handed a secure token from some servlet at the time that they login. This token is added to a user's Flex session, and needed for all subsequent requests.
In my test case, I request and capture a token from the servlet with a groovy script, and then with an amf request step, i make a login call to my amf endpoint using that token.
This is successul, but when i send another amf request, I get hit with "Unauthorized request. Please login first" even though I have logged in with the secure token, and my test case is maintaining http session.
How can I maintain the session with the token, i order to be able to send more amf requests?
All users of this flex application are handed a secure token from some servlet at the time that they login. This token is added to a user's Flex session, and needed for all subsequent requests.
In my test case, I request and capture a token from the servlet with a groovy script, and then with an amf request step, i make a login call to my amf endpoint using that token.
This is successul, but when i send another amf request, I get hit with "Unauthorized request. Please login first" even though I have logged in with the secure token, and my test case is maintaining http session.
How can I maintain the session with the token, i order to be able to send more amf requests?