• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Jason p. · Aug 16, 2013 at 11:08 PM · continuous delivery

Unit Test Categorization

In 5.5 is seems that unit tests from all builds show up under the "Unit Tests" grouping on the Test Automation dashboard.

Is is possible to create user-defined sub-groupings under "Unit Test" to help isolate test run reporting by component or application?

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Solmaz A. · Nov 13, 2013 at 08:25 PM

Hi Andreas,

 

Just checking to see if we made any progress on this issue.

 

Thanks,

Solmaz

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · Nov 14, 2013 at 09:38 AM 0
Share

I have to appologize. I had to deliver a training class and didnt yet have the time to do it. I hope to get you an update by early next week. keep poking me about it in case you dont hear from me (smile)

avatar image

Answer by Solmaz A. · Nov 05, 2013 at 11:11 PM

Yes I'm currently using the NANT Taks Library for starting and stopping a  session recording on Dynatrace. In the page that you provided I only see the following attributes for the Settestinformation target. I don't see any values for category though. Am I missing something here?

 

SetTestInformation (new in dynaTrace 3.5)

  • VersionMajor: Major Version of your Software
  • VersionMinor: Minor Version of your Software
  • VersionRevision: Revision of your Software
  • VersionBuild: Build Number of your Software
  • VersionMilestone: Milestone of your Software
  • Marker: Marker Name that should be shown in the chart for this test execution
  • Agent Group: The name of the agent group that this test information should be set for. Applied to all agent groups if not set.
  • SystemProfile: The name of the system profile that this test information should be set for.
  • CustomProperty: A custom property that should be set for this test information

thanks.

Solmaz

Comment

People who like this

0 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · Nov 07, 2013 at 09:08 AM 0
Share

Hi. You are totally right. It seems we have not extended the NAnt Library with the new parameter that was introduced in 5.5. The NAnt Library basically calls the REST Interface - System Profiles (REST) - to set the Test Automation Information.

You have two options

a) Give us a couple of days until we update the NAnt library

b) call the REST Interface directly from your build script

Andi

avatar image Solmaz A. Andreas G. ♦ · Nov 07, 2013 at 06:30 PM 0
Share

Hi,

 

If it's really a matter of "a couple of days" I can wait for the NANT library update (smile)

 

Thanks!

Solmaz

avatar image

Answer by Solmaz A. · Nov 05, 2013 at 01:44 AM

Hi Andreas,

 

Checking the samples from ANT lib in DT documents I see the following example :

 

-<DtSetTestInformation testrunname="${test.loadtestname}" category="load" serverurl="${dynatrace.server.url}" password="${dynatrace.server.pass}" username="${dynatrace.server.user}" profilename="${dynatrace.profile}" setInformationStatusProperty="dtStatusProperty">
</DtSetTestInformation>

 

Can I have the equivalent  NANT syntax as I can't find it anywhere in the docs.

 

thanks,

Solmaz

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · Nov 05, 2013 at 07:14 AM 0
Share

Hi Solmaz

The approach is the same - whether it is for Java or .NET based Unit Tests. The call "DtSetTestInformation" actually executes a REST call to inform the dT Server that the tests to come are of that category. It is actually some metadata we set on the system profile. Every Unit Test PurePath that is captured after making this call will then be correctly assigned to that test category.

For NAnt we have an equivalent extension available for download: NANT Task Library

Andi

avatar image

Answer by Andreas G. · Aug 17, 2013 at 07:55 AM

It is not possible to define custom test categories - but - you can specify whether unit tests are "Unit" or "Performance Tests". There is a new parameter in the SetMetaData REST Interface - check it out here: System Profiles (REST)

Also - check out the updated documentation on how to best use test categories: Test Automation

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Options for REST reporting

Test automation initial setup.

Incomplete report in Jenkins

Jenkins plugin for dynaTrace - is it available for download?

Best practices for dynaTrace and CI

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A