How can I get trend report using HP ALM REST APIs?

3 views
Skip to first unread message

lihua....@gmail.com

unread,
Jan 19, 2017, 3:57:31 AM1/19/17
to hp-application-automation-tools-plugin
I would like to get the trend report using HP ALM REST APIs. I'm good if the plugin offers alternative REST APIs for me to get the trend report.

ray85...@gmail.com

unread,
Jan 23, 2017, 3:50:50 AM1/23/17
to hp-application-automation-tools-plugin, lihua....@gmail.com
What do you mean trend report? Is it a report provided by ALM? Or a feature of Jenkins plugin?

chunjian...@gmail.com

unread,
Jan 23, 2017, 3:50:59 AM1/23/17
to hp-application-automation-tools-plugin, lihua....@gmail.com

What do you mean 'tred report'? Can you clarify?

Li Hua Lim

unread,
Jan 25, 2017, 3:13:12 AM1/25/17
to chunjian...@gmail.com, hp-application-automation-tools-plugin
Hi,

It's provided by HP ALM tool and it's located under My Performance Center.

hagi...@gmail.com

unread,
Jan 31, 2017, 8:54:55 AM1/31/17
to hp-application-automation-tools-plugin, lihua....@gmail.com
Hello,

You probably meant to ask how to get the trend report using Performance Center REST API.
There are a few methods to achieve that, depending on what information you seek:
to get only general information about the report, which runs are included in it, and which run is used as the report baseline, you can send the following request:

GET http://{PC_SERVER}/loadtest/rest/domains/{DOMAIN_NAME}/projects/{PROJECT_NAME}/TrendReports/{REPORT_ID} 

If you want to get the report data itself (measurements etc.) you can get a .pdf representation by sending the following request:

GET http://{PC_SERVER}/loadtest/rest/domains/{DOMAIN_NAME}/projects/{PROJECT_NAME}/TrendReports/{REPORT_ID}/data

both API's should work after authentication.

Regards,
Oren Pelzman,
Performance Center R&D.

hagi...@gmail.com

unread,
Feb 2, 2017, 3:19:53 AM2/2/17
to hp-application-automation-tools-plugin, lihua....@gmail.com, hagi...@gmail.com
One very important note on this subject:

Trend report Rest API exists in Performance Center starting from version 12.53. In prior versions this API will not work.

Regards,
Oren.
Reply all
Reply to author
Forward
0 new messages