question

Rob S. avatar image
Rob S. asked ·

Cannot trigger Reporting Task via REST API AppMon 7.1

We have a dashboard reporting task that we would like to trigger via Jenkins post performance test run. Please let me know if/how this is possible.

Trying the PUT below

/profiles/{profileid}/tasks/{taskname}

I am getting 403 -

"Task of this type not supported via REST."

Maybe my report task is configured incorrectly? or maybe I need to generate the task at the same time I want to execute it? Any help would be much appreciated - Thanks , Rob

appmon 7rest api7.1
10 |2000000 characters needed characters left characters exceeded

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

Krystal P. avatar image
Krystal P. answered ·

If you are looking to create/get the dashboard once the Jenkins job has completed, I would look at the Dashboard and Report API Call instead of setting it up as a task. This would allow you to either get the dashboard or create it if it's not already there.

https://www.dynatrace.com/support/doc/appmon/appmon-reference/rest-interfaces/server-rest-interfaces/dashboards-and-reporting-rest/

Share
10 |2000000 characters needed characters left characters exceeded

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

Rob S. avatar image
Rob S. answered ·

Hoping somebody has an idea how we can automate our performance reports via REST API?

Thanks - Rob

Share
10 |2000000 characters needed characters left characters exceeded

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

Rob S. avatar image
Rob S. answered ·

I almost forgot we have tried to run this via the execute task PUT below as well.

/profiles/{profileid}/tasks/{taskname}/status

Share
10 |2000000 characters needed characters left characters exceeded

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