RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
A smart debugger greatly enhances the effectiveness of test case development by simulating test execution in debug mode. Users can strategically place breakpoints within test steps, allowing Jenkins to pause execution at these designated points. The test steps which has breakpoint won't be executed until the user resumes the test execution. For the Automation Developers, while developing the testcase itself they can use this testcase debugger feature for validating the testcases.
2. Click on 'Add configuration' shown on the top right corner of the System Configuration page and add the following 3 configurations and click on save changes button.
Parameter Name | Description |
---|---|
DEBUGGER_SERVICE | Smart Debugger Service Base URL |
SMART_DEBUGGER_JENKINS_CONFIG | This is the configuration of the jenkins job which will be used for the debugger feature test execution. It is done in json format. Two jenkins job details has to be mentioned which are the scripted and scriptless jenkins job. |
AUTOMATICS_DNS_BASE_URL | Provide the DNS (Domain Name System) base URL of the Automatics application. |
Launch Automatics Properties application and add the below configuration.
Property Name | Description |
---|---|
debuggerService.base.url | Smart Debugger Service Base URL |
Jenkins job is getting used in the Automatics to execute the test case in debug mode. Partner can refer Smart Debugger Jenkins Setup for detailed steps on how to setup jenkins job for smart debugger.
JDK 17
Maven 3
JDK 17 Setup Details
Follow Steps below to install Java 17 on CentOS/linux.
Update before installing any new program
yum -y update |
---|
Install Java 17
yum install java-17-openjdk |
---|
Verify Java is Installed
java –version |
---|
"mvn clean install"
Run the below command from debugger-service directory to bring the Debugger Service up in the VM.
nohup java -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -jar debuggerservice-0.0.1-SNAPSHOT.jar > logfile.log 2>&1 & |
---|
1. In step builder page at the top, developer can find a debugger icon. Click on the icon to open the testcase debugger popup.
2. In the debugger popup, developer can see configuration options to start the execution.
After starting the execution, click on EXECUTION LOGS panel to see the execution logs.