How to create graph using data points from each test executed

Hi,

I would like to be able to create a graph showing memory usage for each test I execute. So, along the X axis, I'd like TestName and along the Y axis, I'd like memory. Of course, my tests would be responsible for providing the memory data points.

Is this possible with TeamCity?

If not, can it be achieved using a custom plugin?

If so, can you please provide any snippets?

Thanks,

Scott

0
3 comments

Hi!

Did you progress with the project you explained in this post?

Regards,

Olivier.

0

Hi Olivier,

Unfortunately, I have not.

Thanks,

Scott

0

Hello Scott,

  Unfortunately, TeamCity doesn't support such charts by the moment.
  What you can probably do is to generate a simple list of tests in the form
  testOrderId testName  memory_value

  and either simply upload such file as an artifact to TeamCity (and analize it manually),
  or to create a TeamCity plugin which would add a tab to TeamCity build results and would visualize this data in some way.

  To add a tab, you'll need to create a custom tab which extends ViewLogTab, to get access to uploaded artifact use SBuild::getArtifactsDirectory method.

  To generate a chart, you may consider using Google charts.

  Kind regards,
  KIR

0

Please sign in to leave a comment.