Trying the Beta for AI generation of API tests, results in error

I’m really new to Katalon and test automation in general. Using the 30 day trial currently to evaluate.
I am trying the AI generation tool to see if this is something we can use to automate our API testing.

Importing the Objects from the Swagger file works fine, but when I try to generate the tests using AI, I get this error:

An internal error occurred during: “Generate tests using AI…”.

Cannot invoke “java.lang.Long.longValue()” because the return value of “com.kms.katalon.api.model.Account.getId()” is null

No tests are created. What does this error mean?

2 Likes

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Hi Cathrine, :wave:

Welcome to Katalon Community!

Thank you for sharing with us about your issue. I will loop in @xuan.tran from our Studio team here so that she can assist you further.

Thanks,
Albert

Hi @cathrine.frostjord,
Thank you for sharing with us, we’re investigating it. Can you share with us the email you’re using to log in to KS?

1 Like

The email is cathrine.frostjord@vitecsoftware.com

1 Like

Hi @cathrine.frostjord ,

I tried with my trial account but couldn’t reproduce your issue, could you please retry and if issue is still persist, could you please give more information like: KSE version, account type, importing file, …
Regard,
Phong Nguyen.

1 Like

Hi @cathrine.frostjord, :wave:

Just an update, we have forwarded your issue to our Product team and they are looking into it.

Some of our Product team member will reach out to your via this thread, so please help them by providing any information they may need.

Thanks,
Albert