• 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
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Solmaz A. · Nov 08, 2013 at 12:28 AM · continuous delivery

Load Test Category in Dynatrace 5.5

Hi,

 

I'm currently running my load tests with Neoload and I have added Dynatrace timers within each request by using the "x-dynatrace" header. I was willing to know if I'm able to make these results appear on the automation dashlet. It would be great if you could print out the exact steps to make this happen.

 

Thanks,

Solmaz

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

5 Replies

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

Answer by Andreas G. · Nov 08, 2013 at 07:50 AM

Check out the following doc page and scroll to "loadtests": Test Automation

In 5.5 you need the "extra step" to execute a dummy unit test in order to get an entry in the test automation dashlet.

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Solmaz A. · Nov 08, 2013 at 10:17 PM

Hi Andreas,

 

I'm not such a good developer but I want to call the rest services within NANT. I'm trying to use curl to send the POST HTTP commands. Somehow I can't get it working for setting the test meta data. ( I got it working for the start recording session):

 

call "curl.exe" -X POST -d "testrunname=loadtest&category=load" http://{servername}:8020/rest/management/profiles/{profile-name}/setmetadata -u "user: pass" {DT server}


I'm getting the error bellow:

HTTP ERROR 405

Problem accessing /rest/management/profiles/RDCWeb_CI/setmetadata. Reason:

    Method Not Allowed

I was really hoping that I could use your rest services through an easy querystring format like: /rest/management/profiles/RDCWeb_CI/setmetadata?testrunname=loadtest&category=load.

 

Am I missing something?

 

thanks,

Solmaz

 

 

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Andreas G. · Nov 09, 2013 at 02:28 PM

I HTTP Method is PUT - not POST - thats why you get the error "Method Not Allowed". "Method" refers to the HTTP Method (GET, POST, PUT, DELETE, ...). Change it to PUT and give it a try

Comment

People who like this

0 Show 3 · 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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Solmaz A. · Nov 18, 2013 at 05:50 PM 0
Share

Hi Andreas,

 

Any updates on this? I'm really blocked on this automation task as I can't get the Rest service working and the NANT library is not ready yet. 

 

Thanks,

Solmaz

avatar image Andreas G. &. Solmaz A. · Nov 18, 2013 at 06:00 PM 0
Share

Hi

I just took a closer look and i think we may have a solution here that doesnt even require an update to the NAnt Task implementation. The NAnt Task allows you to define a list of custom properties. It is a list of name value pairs. You should be able to specify the missing information by adding one custom parameter with the key "category" and the value "load".

Please give this a try

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

Thanks Andreas,

 

I tried this out and it's working fine now (smile)

 

avatar image

Answer by Solmaz A. · Nov 13, 2013 at 06:59 PM

Hi Andreas,

 

I tried the same curl command with PUT. I also tried it with a powershell script. Now I don't get the error for Method Not Allowed. and I get the results as below:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result value="true"/>

 

but when I try to run my test it all shows up as unit test category. 

Any idea how to fix this? I'm blocked on my automation due to this issue.

 

thanks,

Solmaz

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Richard U. · Nov 14, 2013 at 12:59 PM

Hi Solmaz,

in our demo environment we do the following sequence

  1. Start session recording
  2. Set test information. Use the "PUT ... setmetadata..." as you posted already
  3. Run a dummy unit test (with injected Agent and Test Sensor placed; see Test Automation for details) to get a link from the TA-Dashlet to the Load Test Overview
  4. Stop session recording

Note: The TA-Dashlet entry for a loadtest is just a shortcut (if one does not consider the implementation cost) for opening the recorded session in the "Load Test Overview" dashboard. This dashboard is usually reachable via Start Center -> Analyze Performance

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Solmaz A. · Nov 14, 2013 at 06:29 PM 0
Share

Hi Richard,

 

Thanks for your response.. I got this working manually by running each step individually without any automation. The step that I'm currently stuck for my automation is step #2. I can't get the Rest service call right. I can't use NANT library for now as it doesn't support the test information. I'm using the curl command as below to set my automation data:

 

call "curl.exe" -X PUT -d "category=load&testrunname=loadtest" http://{servername}/rest/management/profiles/{profile name}/setmetadata -u "user: pass" {servername} 

 

in response I get <?xml version="1.0" encoding="UTF-8" standalone="yes"?><result value="true"/>

 

so I'm thinking the metadata should be set successfully. But it's not working correctly (sad) and I don't see the load test session recording appear under the load test category. Don't know where the problem is.

 

Any thoughts?

 

thanks,

Solmaz

Join the conversation!

First steps in the forum
Community User Guide

LIVE WEBINAR

"Power Demo: Software Intelligence for Cloud Infrastructure"


DECEMBER 12, 10:00 AM GMT / 2:00 PM ET

Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Seeking details on Automation parameter definitions and metric calculations 3 Answers

Who broke the build - Committer Info 2 Answers

Manage Remote Batch Processes through Eclipse Plugin 3 Answers

WebSphere CPU consumption by application 2 Answers

Tagged Web Requests Don't Show Up 7 Answers

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api errors 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 browser agent community user guide hybris javascript appmon sensors good to know 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 diagnostics user session monitoring unique users continuous delivery configuration alerting NGINX splitting business transaction client 6.3 installation chart database scheduler apache mobileapp RUM php dashlet azure purepath plugins agent 7.1 appmonsaas messagebroker nodejs 6.2 incidents 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
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A