Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Unable to Set Session Data via gs.getSession().putClientData() in ATF

sonaligchav
Tera Contributor

I'm trying to set session data using gs.getSession().putClientData("Code", "00000") in ATF. I tried two approaches:

  • Using a Script Test Step in ATF.
  • Calling a Script Include that uses putClientData() from ATF.

In both cases, when I use getClientData() to verify, it returns null. The integration works fine outside ATF. Is there a limitation with session data in ATF? Should I use user preferences instead?
Any best practices or alternatives would be appreciated. 

0 REPLIES 0