Print / log HTTPClient request info

Hello all.
Would like to know how to print / log the HTTPClient activity request information like request Endpoint, request method, request parameters.

Is that possible?

Thanks in advance, an happy automation!

Hi all of these things are configure by you in the properties panel. If you want to log them then just use the same variables in log activity as well.

The challenge here is that we don’t have this info in variables, all request info is hardcoded in the activity’s properties :frowning:

and is there a limitation where you cannot convert those values to variables?

There is no de facto limitation. I will have to change / updae all my test cases. Each one has at least 3 api calls. I thought I could use a variable, kind of request’s instance and its methods that returned its properties

i guess than you can hardcode the logs as well copy the details from the http activity and paste them in logs

@er.sandro.pinto
edit: I have tested one of our internal api and it returns the parameters used to call the request in the response headers you might want to look at the response of your api and see if you can fetch something

I’ve already tried this approach but unfortunately I can’t find this information in Output > Headers var :frowning: