Skip to main content

Tosca Integration using DEX

This documentation provides a detailed guide on seamlessly integrating Tosca with HyperExecute using DEX.

Prerequisites

  1. Ensure that you have the required Tosca DEX License.

  2. A valid running Tosca DEX Server.

Steps to Integrate Tosca

Step 1: Initialize the Tosca Project

Image
  • Select Tosca with DEX tool. Enter your Project Name. Click on Continue.
Image

Step 2: Manage your License and Credentials

  • Select the Type as Cloud License. Enter the License Details, i.e. Username and Password with which you want to execute your tests. Cloud Server id field is optional.
Image
  • Now select your Database Type. For the demo purpose, we are using Oracle. Choose how you want to establish the connection, i.e, via Connection Data or via Connection String, to access the common repository associated with your workspace.

For demo purposes, we are selecting the Connection String. Enter the connection string for your database.

Enter the Workspace Details, i.e., Username (mandatory) and Password (optional), that you want to use for this project. Click on the Continue button.

Image

Step 3: Configure DEX Server Details

  • You need to provide the details of your DEX Server as per the prerequisites.

  • Select the Type of the protocol. For the demo purpose, we are using HTTP protocol.

  • Provide the IP Address of your DEX Server.

  • Enter your required Port (optional).

Click on Save button.

Image

Step 4: Execute Your Project

  • Please wait for the discovered test events to get populated. Now, select the desired test events that you want to execute, and then click on the Run button.
Image
  • Now set the total number of Concurrent Sessions that you want to run on HyperExecute, enable the Retry on Failure (optional) and click on the Run button.
Image

Step 5: Check the Logs Status in Dashboard

  • Now go to the Jobs section and check the results.

You can also download the video output.

Image

Auto Retry for Non-Assertion Errors

You can enhance the efficiency of Tosca test execution by automating the retry process in the event of Non-Assertion Errors. It usually occurs when a program encounters an unexpected conditions like runtime error, timeouts, connectivity issues etc.

To enable the Auto Retry on Failure of tests:

Step 1: After setting up your DEX Server, select the events that you want to execute. Click on the Run button.

Step 2: Now enable the toggle button for Retry on Failure and click on the Run button.

Image

Now, once your execution is finished, the platform will automatically analyze your execution list results and logs.

Image

If your execution lists fail due to any non-assertion error, HyperExecute will automatically trigger those specific failed lists again.

Image

NOTE : Your event name should be same with the execution list.