Skip to main content
March 20, 2024
Question

How to capture JSESSIONID from integration call?

  • March 20, 2024
  • 5 replies
  • 0 views

Hi Team,

When I make API call from Appian, I am only getting iSession id in Cookie in Header whereas in Post man I am able to get both iSession id and JSESSION ID. 

Can you please help me to get JSESSION ID while calling an API from Appian?

Thank you in advance

5 replies

varuntejg243705
March 20, 2024

Hi [mention:f23f672d44fa4001b142828f36ed8773:e9ed411860ed4f2ba0265705b8793d05] ,

As per my knowledge in web testing, session cookies are created while you make request, if you cant able to see jsessionId, it may be problem with cookie data,  you need to set headers if it is configurable as      =>    sessiontype = j2ee

if possible can you post a image of http response?

try changing browser (don't use chrome) and check.

March 20, 2024

Hi Varun, 

Thank you for your response.

We are getting multiple session cookies as headers but Appian's integration object only returns the latest/last one.

-- To make further calls to the target system within same session, we need all the session ids.

Previous conversation about the same issue - community.appian.com/.../integration-object---accessing-multiple-headers-with-the-same-name

varuntejg243705
March 20, 2024

Good to hear!

mathieud0001
March 20, 2024

Just curious, why do you want/need the jsessionid?

March 20, 2024

I need to make further API calls with the session id I have got from the first call. My second API is not working if I pass only one session id (isession id) so I need to get both isession id and jsession id.