cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


Http Request Templates

Anonymous
Not applicable

Hi,

 

I am trying to setup a HTTP request template to call a HP Performance Center API to start a test.  The issue I am facing is that Performance Center API requires one to hit an authentication url that sets a cookie that must be used in all following API calls such as the one to start a test.  Does anyone know a way of handling this in the HTTP request template?  Any insight would be much appreciated.

 

Example :

Auth request:   http://PCURL/Auth

Response = QCsession and LWSSO cookies are returned

 

Start Test request:  http://PCURL/starttest

Request headers: QCsession and LWSSO cookie values from above request

 

Thanks,

Chris

1 REPLY 1

Anonymous
Not applicable

You can't do more than one request and handle session on a single HTTP Template, but there are other ways to accomplish this.

 

If you are using an OnPrem controller, you can set up a Custom Action as a script on the controller that will make those 2 requests.

If you are using a SAAS controller you can bring up a simple webserver (maybe with nodejs or flask) that takes 1 request, and then make the 2 requests that you need, like a "forwarder".

 

 

 

 

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here