Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to update test results in TM4J from jenkins automation run?

Question: I want to update my test case results (already created in TM4J ) after my automation run finish (scripts created using Selenium and Java, Jenkins job)

Info/Details:

1. I have automation suite created using Selenium, Java using Maven and TestNG.

2. I have jenkins job running the automation suite. In jenkins job we are using  "Pipeline scripts from SCM" to generate the report and we use a custom format report to publist the report in a communication channel.

 

What I am trying to achieve?

If suppose I have 10 test cases automated, I want to update the results of those 10 test cases in TM4J based on the execution result meaning if my 7 scripts pass and 3 failed I want to update 7 test case results as Pass and 3 as fail in TM4J.

What I have done so far:

I read few links https://smartbear.com/product/testcomplete/integrations/automated-testing-with-jenkins/ and I have added Test Management for Jira plugin to Jenkins. I have pipeline code to generate the test results in the json file as part of my jenkin file Post build action. How can I read this json file to publish the test case results in TM4J in this automation.  Any help will be really appreciate.

1 answer

did you find an answer to your question?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

225 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you