I would like to configure Heartbeat in order to sample an authenticated http endpoint.
This endpoint is authenticated with a JWT token, which I have to obtain with another call with basic auth.
Is it possible to implement a custom authentication "script" or "module" in Heartbeat, in order to do a custom authentication like the one I described?
We don’t currently support this in Heartbeat today.
You could create a Synthetics user journey to write a multi step script to get the response from the first step to use in the request on the second step, but this does include the overhead of running a full browser (even if you just end up implementing a lightweight HTTP request in your user journey script).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.