cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot trigger Reporting Task via REST API AppMon 7.1

robert_m_seiber
Newcomer

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


3 REPLIES 3

robert_m_seiber
Newcomer

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

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


robert_m_seiber
Newcomer

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

Thanks - Rob


krystal_peterso
Inactive

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/