Hybrid Execution Model allows you to execute the tests on device locally. For Hybrid Execution, a small utility program named Testsigma Agent is deployed on the local machine using Apache Tomcat.
We will discuss how to get the log files for the Agent in this article. Providing these files to the Testsigma Support Team will ease the process of finding the root cause of an Execution issue and help quickly resolve the issue quickly.
There are two types of logs:
1. Testsigma Agent logs - This will help us understand the reason for execution errors and generally Testsigma App or Agent related errors.
2. Apache tomcat logs - This will help us understand the reason for failure due to Apache tomcat related issues.
Locating the Log files
1. Testsigma Agent logs
The Testsigma Agent Log files are located at the following locations depending on the Operating System used:
Mac: $HOME/Library/Application Support/Testsigma/Agent/logs
Inside the 'logs' directory, you can find a number of files such as agent.log, Testengine.log e.t.c.
2. Apache Tomcat logs
The Agent file is usually located in Documents folder in your machine. Within the Testsigma Agent folder, you can navigate to Apache tomcat logs folder as follows: Testsigma Agent > apache-tomcat > logs
Please zip both the 'logs' folders in the above two locations and attach them in a mail to firstname.lastname@example.org describing the issue.
For a technical user, the logs will serve as a great tool for debugging the issues themselves. However, if you need an extra hand, we are always there for you. Just drop in a mail to email@example.com describing the issue and with the above-mentioned log files attached. Remember, adding as much detail as possible will help us resolve the issue in shortest time.
Please mention the following details in the mail:
- Execution Type: Hybrid Web/ Hybrid Mobile. If it is Hybrid Mobile Execution, attaching the Appium Logs too will help.
- Project Name, Application Name, Test Case name, and Execution Name.