Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute Karate test scenarios from AIO itself?

Vindya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 15, 2023

I’ve written some test scenarios in karate framework. Currently, I’m running it from Karate itself and then importing the results cucumber json file into AIO. I want to know whether, is there any possibility of executing karate test cases from AIO itself?

1 answer

0 votes
Niharika [AIO Tests]
Contributor
March 15, 2023

Hi @Vindya ,

AIO Tests exposes APIs to import results to AIO.  In the Karate framework, you can consider implementing a RuntimeHook - afterSuite method and pass the generated cucumber json result using the above API.  [Code samples]

If you are using Jenkins for CI/CD then you can also use AIO Tests Jenkins plugin which can automatically report the cucumber report to the selected cycle as a post build action.

AIO Tests doesn't trigger off tests right now since every framework has a different way of invoking tests.  So, the invocation of tests has to be done via existing CI/CD tools either scheduled or adhoc and the results can be pushed automatically via the APIs/plugins/reporters.

You can reach out to us at help@aioreports.com or via our support portal for further queries or schedule a demo with us and we would be happy to demo the APIs to you.

Regards,
Niharika [ AIO Tests Team ]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events