Starting stubs by using the HCL Quality Server method
When you want to start stubs that are published to HCL Quality Server, you can do so from the Environments Dashboard. Also, when you cannot use or access HCL OneTest™ API to control stubs, you can use the Environments Dashboard of HCL Quality Server to start the stubs.
About this task
The Environments Dashboard also enables you to perform the following tasks:
- Override a stubs tag setting.
- Adjust a stubs response time.
- Start scenarios, which are collections of configured stubs. This action starts all stubs in the scenario.
Procedure
- Log in to HCL Quality Server.
-
Click the Environments icon or navigation link from the landing page.
The Environments Dashboard is displayed.Note: You can change the domain and environment that you want to view by clicking the <domain>:<environment> link, and from the <domain>:<environment> selection dialog displayed, select the domain, and then select the Environment.
-
Select the domain, and then select the Environment that contains the stubs.
The Environments Dashboard is displayed for the selected environment and domain.Note: If you are using 8.5.1.1 or later, and domain-level security is enabled, you can use only the domains to which you were granted access.
-
Click the Start icon of the stub that you want to start.
Note: If the stub fails to start and displays a Broken state, then you can find the possible cause by hovering over the stub.
Results
Column |
Description |
---|---|
Status |
Displays the state of the stub. For example, the status of a stub that is started is displayed as Starting and the status changes to Running when the stub runs. |
Name |
Displays the name of the stub that was published to HCL Quality Server. |
Version |
Displays the version of the stub that was published to HCL Quality Server. |
Components |
Displays the name of the service component in HCL OneTest™ API in which the stub was created. |
Operations |
Displays the name of the operation in HCL OneTest™ API in which the stub was created. |
Hits |
Displays the count of the messages or calls received by the stub after the stub was started. |
- HCL OneTest™ API Agent fails.
- HCL Quality Server fails.
- A network outage.