Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Is there a way to get at the test running time data in Bamboo?

We have an issue where our test builds suddenly made a huge jump in running time and it would be helpful to have some tools or mechanism to browse or download test runtime data for analysis.

I.e. we want to figure out some how whether there are specific tests that have suddenly started up eating a lot more time.

We are using Bamboo 3.2 and I've been trying to find info on the runtime of individual tests but all I seem to be getting in the tests history is an 'average' runtime. I can't even seem to find where/if the runtime for the last test run is available somewhere.

Ideally, what I'd like to get is some way to download all the runtime data into some format, like a CSV file that I can download into a spreadsheet to try to run some simple computation like comparing average runtime with latest one, plot some graphs etc.

So I guess this comes down to two questions:

1) is there a way to get test runtime data out of bamboo somehow for offline analysis

2) is there a way to see more info on test running times in bamboo's web UI that I may be missing

Note: some more UI for browsing test runtime data (ideally a graph or at least some way of comparing the latest running time versus the avarag running time would be useful... However if you have close to a 1000 tests getting all the data for offline analysis would be more useful because trying to find a small set of test that are responsible for adding test-time overhead by clicking on them one-by-one is not practical.

1 answer

1 accepted

0 votes
Answer accepted

While this is more of a workaround, I have applications that parse and analyze the test result xml files stored on the Bambo server in the "builds" directory. This approach assumes that you have directory access on the server.

There are some ways to get test run time through the REST API. However, it looks like you can only get runtime information for failed tests:https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+Resources#BambooRESTResources-BuildServiceSpecificBuildResult

It would be nice if the REST API included ways of getting all test data.

Older version of Bamboo used to have a run time graph for each test which was very useful since you could visualize any spikes in run time. However, they took that out for performance reasons. There is a ticket somewhere to put it back in. Vote for it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

959 views 0 16
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