Tosca Distributed Execution (DEX) Setup Guide
Tosca Distributed Execution (DEX) Setup Guide
What is Tosca Distributed Execution (DEX)?
Tosca Distributed Execution (DEX) allows you to run Tosca tests in parallel across multiple machines or agents, speeding up test execution and enabling scalability for large test suites.
Why Use DEX?
Parallel Test Execution: Run multiple tests simultaneously.
Scalability: Distribute tests across multiple environments.
Resource Optimization: Utilize multiple machines efficiently.
Faster Feedback: Reduce total test runtime.
Learn Tosca Training in Hyderabad
Read More
Tosca API Scan: Advanced Configuration Tips
Tosca Data-Driven Testing with Excel and TDS
Tosca Steering Parameters: Use Cases and Tips
Working with Tosca Parameters (Buffer, Dynamic Expressions)
Visit Our IHUB Talent Training Institute in Hyderabad
Pre-requisites
Tosca Commander installed on all participating machines.
Network connectivity between Tosca Controller and Execution Agents.
Tosca Executor (Execution Agents) licenses.
Synchronized Tosca versions across machines.
Proper permissions for communication (firewalls, ports).
Components of DEX
Component Description
DEX Controller Central Tosca instance managing distributed execution
DEX Executor Remote agents that execute test cases
Database Shared repository where test cases and results are stored
Step-by-Step Setup
1. Prepare Tosca Commander on All Machines
Install Tosca Commander on the Controller machine.
Install Tosca Commander Executor on all remote machines (Executors).
Ensure all machines use the same Tosca version.
2. Configure DEX Controller
Open Tosca Commander on the Controller machine.
Go to Settings > Distributed Execution.
Enable Distributed Execution option.
Configure the Controller Hostname/IP and Port.
Ensure Controller can communicate with Executors.
3. Configure DEX Executors
On each remote machine, open Tosca Commander Executor.
Go to Settings > Distributed Execution.
Enter the Controller's Hostname/IP and Port.
Register the Executor with the Controller.
Ensure Executors have the necessary permissions.
4. Network and Firewall Configuration
Open the required network ports (default is 40006).
Allow inbound/outbound communication between Controller and Executors.
Verify connectivity using ping or telnet.
5. Assign Test Cases for Distributed Execution
In Tosca Commander, organize your test cases.
Define execution lists and assign them to Executors.
Use the Distributed Execution view to monitor test execution status.
6. Start Distributed Execution
From the Controller, start execution.
Tests are distributed automatically to Executors.
Monitor progress and collect test results centrally.
Tips for Effective DEX Setup
Keep Tosca versions consistent across all machines.
Ensure all Executors have access to necessary test data and environments.
Use stable network connections to avoid execution interruptions.
Regularly update Executor machines with patches and licenses.
Monitor resource utilization to balance load.
Troubleshooting Common Issues
Issue Possible Cause Solution
Executors not connecting Firewall blocking ports Open port 40006 and allow traffic
Version mismatch Different Tosca versions Update all machines to same version
Execution hangs or fails Network instability Check network and retry
Tests not distributed Incorrect Controller/Executor config Verify configuration settings
Summary
Step Description
Install Tosca On Controller and Executor machines
Configure Controller Enable DEX and set host/port
Configure Executors Register with Controller
Configure Network Open necessary ports and permissions
Assign Tests Distribute test cases
Run and Monitor Execute tests and collect results
Learn Tosca Training in Hyderabad
Read More
Tosca API Scan: Advanced Configuration Tips
Tosca Data-Driven Testing with Excel and TDS
Tosca Steering Parameters: Use Cases and Tips
Working with Tosca Parameters (Buffer, Dynamic Expressions)
Visit Our IHUB Talent Training Institute in Hyderabad
Comments
Post a Comment