Sr Test Automation Architect at a tech services company with 501-1,000 employees
894
Updated:Jun 23, 2022
Working with Tosca Distributed Test Execution (DEX) and Jenkins
Tosca can be integrated with any CI/CD Tool in a similar Way
Distributed execution in Tosca: Distributed Execution in Toscais used to send test events with Execution Lists to the Tosca Distribution Server.
The Tosca Distribution server distributes Execution Lists among several free agents (clients) to execute them. Or, it puts them into a queue until an agent is available.
Replace the below-highlighted code with the code given in the Binding screenshot.
Binding screenshot
Replace the Local host with the servers IP:
Step 3: Do the below steps in all the VMS
Path:
Right-click on the file and run as an admin.
Come to the desktop and at the bottom right corner of the desktop, there will be a Monitor symbol (Tosca Distribution Agent), Right-click on it and click on Configure Agent.
Do the settings in the "connect to the server" section.
Tosca Workspace path
If we are using the Remote or virtual machines, please provide the Usernames and passwords in the below section and click on save.
Check 1
The Agent has to turn Green now
Check 2
Open the server in Chrome and the user must see the agent in the agent view
Step 4:
Trigger an event in Tosca.
Open Tosca commander and navigate into the Configurations.
Right-click on configurations and select “Update configurations from server”.
Right-click on configurations and select “Refresh Agents”.
Check:
Under Any and Under Support classic we must have our agent machines in Green
Step 5
Check out the Test events.
Create a new test event and rename.
Drag and drop the execution lists into the test event.
Step 6:
Configure results.
Step 7:
- Login to Jenkins
- Click on New item
Enter an event name, select free style project and click in OK
Give the description and select the Add build step.
Select Execute Windows batch command
Enter the batch command as shown below and click on Save.
Configure the Test event parameter file (in the C drive) as shown below:
Return to the home page, select the project and Click on build now.
Yes DEX uses an execution license. Execution licenses come in packs and cost lesser than development licenses. If you have an execution license as part of your license then DEX machine Tosca automatically consumes the execution license otherwise it will go and use a development license.
General Manager Customer Development at TTC Global
Apr 23, 2023
No separate licence is required, no, for DEX. Running tests in a DEX environment does consume a licence. We encourage clients to schedule tests after hours when a licence isn't needed for designing automated tests so that the licence consumed by DEX does not impact test design and build work. If you are running tests during a time when a licence is needed for test design and build work then you will need to purchase another licence for the DEX client to use.
Yes DEX uses an execution license. Execution licenses come in packs and cost lesser than development licenses. If you have an execution license as part of your license then DEX machine Tosca automatically consumes the execution license otherwise it will go and use a development license.
Director of Community at PeerSpot (formerly IT Central Station)
Jun 16, 2022
Hi @Test Process Consultant, @gagneet, @MarkusBonner and @Aditya Chakradhar Nanduri,
Possibly, you can help here or provide some inputs to @Ann Godfrey.
Thanks.
Sr Test Automation Architect at a tech services company with 501-1,000 employees
Jun 16, 2022
Hi team,
We can integrate with any CI/CD tool to Tosca provided, that CI/CD tool supports Batch Command Execution.
You can reach DM me for more information.
Thanks, @Aditya Chakradhar Nanduri for your article.
Hi @Nigel Powell, @Mangesh pangrekar, @Vinayak Bandewar, @reviewer1183092, @Roberto Forlani, @Test Process Consultant and @gagneet,
As hands-on users of Tricentis Tosca, any inputs about the suggested solution?
Thanks!
This article will help in integrating Tricentis Tosca with Jenkins (or any CI/CD tool).
Please go through the described steps to achieve it.