Forum Discussion

Lexington_Soft_'s avatar
Lexington_Soft_
New Member
3 months ago

Basic Authentication and Cookie / Session Id

Hello,

I am testing Basic Authentication on my Jenkins local server which uses username / password and then Session ID as Cookie. 

In RAPI, I created a Test Suite -> Test Case -> Login 

I created an Auth Profile "Jenkins" which has the Authorization set to Basic with the username/password.  I attached this profile to the Login Test Case.

If I need to preserve the session ID for the next test case, I cannot do so.  The documentation suggests enabling the "Maintain the HTTP session" property, which seems to be for a Test Case with multiple Test Steps.

  • Inherit from Parent also does not seem to take the previous session info.
  • The only way to make it work is to reuse the Authorization Profile for every Test Case which is not the way the Application works.

Please advise If I missed anything. 

Thanks

No RepliesBe the first to reply