Click or drag to resize

Start & Stop service simulation

In Hummingbird test framework, services are hosted in different Virtual Servers, Virtual Server is in the protocol level where each services implements the same protocol.

For example, all SOAP Web Services are hosted on SOAP Server, and REST Web Services are hosted on HTTP Server. According to the extensions installed, there may have other Virtual Servers available for use.

Caution note Caution

Before starting a server, make sure that TCP Port configured for that server is not currently used. Or that will make conflicts and fails to start.

In Enterprise environments, register TCP/UDP port is reserved only to Administrators. It is highly recommended to run service simulation on a Virtual Machine that shared with the testing team. If you must run the service simulation on your workstation, you need either Administrator rights, or contact your IT Helpdesk Department to register TCP Ports for you.

Once TCP Port is registered, you don’t need any more administrator rights to start service simulation. Please do not change server port settings in this situation, or you must register the new port again with an Administrator.

To know more about TCP Port registration, please refers to: Register HTTP Port for Simulation

General controls of service simulation

You can control the service simulation on the Test Runner, shown as follow image:

startservice
  • Add/Remove Servers, let you to choose the virtual server to use.

  • Start Service link starts all the virtual servers. When this link is clicked, it will turn to Stop Services to stops all the virtual servers.

  • Service List link shows all the services can be called or can be simulated, for service simulation, it is necessary to configure your application to call the URL shown in the service list.

You can also control the individual virtual server, by Right-Click the virtual server and choose an option from the context menu.

Note Note

When Starts or Stops a virtual server, that activates or deactivates all the service simulation that hosted on that virtual server. Currently Hummingbird does not supported controlling individual service that hosted on a virtual server.

Caution note Caution

Before starting a server, make sure that server is configured. When a virtual server starts, TCP/UDP ports will be used, that may make conflicts with current running applications.

Select Virtual Services

To Select the virtual service to use, click on the link Add/Remove Servers. The following dialog will be shown

selectservice

You can select the virtual servers to see the detailed information. If you decide to use this virtual server, ensure the virtual server is checked, then click on OK button to confirm

Note Note

You may see more virtual servers available here if you installed one or more extensions. Choose only the server you use, because starts a server will consume system resources like Memory and TCP Port.