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

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:

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,080 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot