From Command Line


This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-analytics/docs/from-command-line.html

I’m making a gitlab build job, and I want it to post my reports to analytics.

Is it possible to set proxy settings for the uploader.jar at this stage? I couldn’t find documentation on this, and it seems like the uploader doesn’t pick up my system environment variables

Since the uploader is open source, out of curiosity I just had a look. It’s using Apache HttpClient under the hood, so no, you cannot set proxy settings via environment variables or system properties. What you could do, is fork the project on Gitlab, add the required CLI arguments and open a pull request to merge your additions back to the main repo.

I’ve been stuck for a while before finding why I kept getting 403 errors. Then I found that the projectId is actually the projectId present in Katalon Analytics. If this can help other people…