create user test step failing in ATF

Mohammed Rafi S
Tera Contributor

Hi,

 

I have a Requirement where i need to create user and impersonate as him in ATF but when i try to run the ATF it is failing as create user test step itself

 

TYA

7 REPLIES 7

Pavan45
Tera Contributor

I have same issue

 

jstephens
Tera Contributor

I was receiving this error and I got around it by moving my admin impersonate to the beginning of the test.  The reason I was having the issue is that I was impersonating an ITIL user and then trying to go from there to impersonate an admin.  Apparently going directly from the impersonated ITL user to an admin will fail, but going from admin to ITIL will work.  It may not be you guys issue but it worked for me.  I have no ATF roles, just global admin.  Hope this helps.

This was (sort of) my issue. I accidentally had my step 1 (Create a User, which was my end user) "impersonate" option checked. My itil user is in my second step. Of course my impersonated end user from step 1 cannot create and impersonate an itil user in step 2 🤦🏽‍♀️