• 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 Solmaz A. · Nov 22, 2013 at 11:34 PM · continuous delivery

Saving the images of a report through the Rest services

Hi,

I'm using the Dynatrace REST services to create a html report in my automation system. Here is an example:

 

http://{servername}/rest/management/reports/create/{ dashboard name}

 

When I use this directly on the browser  I see the images, but when I save the html and try to get the images, it seems they have been deleted from the dynatrace server. I'm thinking there is some sort of a cleanup process that deletes the images as soon as they are created.

 

Is there a way for me to download the html file and the images at once?

 

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
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.

2 Replies

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

Answer by Solmaz A. · Nov 26, 2013 at 10:33 PM

tnx Dominik (smile)

 

I did as you recommended and now I have a good looking HTML Report that is integrated in our Teamcity server (smile)

 

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 Dominik S. · Nov 28, 2013 at 02:29 PM 0
Share

Good to hear, maybe you can/want to share what you did so others can take a look as well?

Especially integration into TeamCity sounds interesting!

avatar image

Answer by Dominik S. · Nov 26, 2013 at 01:22 PM

Hi,

Yes, when a server-side HTML report is requested, the images are provided via separate links. These links point to http://{servername}/rest/management/reports/image/...., however what happens is that when the images are downloaded, they are removed internally on the server, so the links work only once. This is done to keep the caches and disk-usage on the server small and to free up all resources as soon as the report is fully downloaded by the Browser.

So it should work if you parse the HTML that you receive and extract the image links and fetch those images without looking at the report in the browser at the same time.

 

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

Automation Client in an Intrumented app - how to get the app measures as test checkpoints?

DynaTrace 6.3 and Jenkins 1.625.3 connectivity issue

Manage Remote Batch Processes through Eclipse Plugin

PHP and Test Automation

Loadrunner integration in Loadtesting - Unique transaction question

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