Hi Devs, I have some good news! I implemented an automated integration test for Python Cartridge Agent (PCA) to verify its logic at build time without waiting to execute a complete workflow by bundling PCA in a VM or Docker image.
This test copy the PCA distribution to a new folder under target/, do the configuration and test the complete PCA flow until the git clone completes. I have design this test to run as a live test because of the limiation we have in ActiveMQ embedded server for MQTT (at least I could not find to configure it to support MQTT). Currently PCA communicates with ActiveMQ with MQTT. *How to run the test:* cd <stratos-source>/components/org.apache.stratos.python.cartridge.agent mvn clean install -Plive In addition I have moved PCA source code to following location: <stratos-source>/ components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent Thanks -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos