Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Recovering Results

Micro Focus Expert
Micro Focus Expert
0 0 739

If you are using Silk Performer regularly over a longer period of time, you might run into the situation where one of your running load tests is suddenly aborted. This may be the case when the connection between controller and agent breaks, which can have a number of reasons. It might happen that an agent unexpectedly goes down or that an ordinary power cut occurs. In any case - with Silk Performer's recovery feature, you can recover the data that had been collected up to that point. We'll show you how, in this blog post.

But before we get started, let's have a quick look at the following diagram. The top part shows a basic load testing scenario with a controller and three agents. When the connection to an agent breaks, the recovery feature comes into play. The lower part shows that the transferred and the missing results are merged together into the recovered results.

Two scenarios

We're going to discuss two scenarios in this blog post: (1) Recovering CloudBurst load tests, and (2) recovering on-premise load tests. The approach differs slightly for these two scenarios. Let's start with the easy case, the one that involves cloud agents.

Recovering CloudBurst load tests

In our example, we have been executing a load test that has utilized cloud agents when suddenly a power cut occurred. This obviously caused a connection break between controller and cloud agents. So we had to restart the computer and relaunch Silk Performer. When you open Silk Performer after such an interruption, a recovery dialog displays automatically. Note that this is only the case when you use cloud agents in your load test. Click Recover Results (1) to continue.


Now the Prepare Recovery dialog displays - it allows you to specify three directories (1). We'll discuss them for the next scenario. In this case, Silk Performer automatically fills in the fields and all we have to do is to click Recover (2). The recovery starts and Silk Performer shows you the completed steps and the progress (3). After a few moments, Silk Performer should have recovered the load test results and displayed them on the Load Test Summary page.


However, if any problems occur during the recovery process, Silk Performer will show a warning (1). In such a case, you can click view log file (2) to get more information on the incident. In our example, the cloud agents were not yet ready, so the controller could not access the results at that time. It was sufficient to wait a few moments and to then click Retry (3).


Recovering on-premise load tests

Let's now figure out how to recover results when you have used on-premise agents in your load test. We're supposing that we're struck by another power cut during a load test execution. When we restart the computer and reopen Silk Performer, we now have to click Tools > Recover Load Test Results. The Prepare Recovery dialog, we already know, displays. But now the fields are empty. We have to manually specify the following directories:

  • Missing results (1): This is the folder that contains the results that could not be completely transferred from the agents to the controller. Since we can only specify one directory for the missing results, we have to manually copy the results folders from the individual agents into a single folder. The results folder on the agent machines resembles the following path: C:\Users\Public\Documents\Silk Performer <version>\LocalResults_<#>.
  • Transferred results (2): This is the folder that contains the results that have been successfully transferred to the controller. We have to specify the load test results folder from the controller machine here.
  • Recovered results (3): This field is automatically filled in once you have specified the transferred results. It is the same directory but it attaches a recovered suffix. This folder will contain the recovered results, once the recovery is completed. Of course you can adapt this path according to your needs.

Once we've specified all directories, we can click Recover (4). After a few moments the recovery process is completed and the recovered results display on the Load Test Summary page.



Note that recovering results is not an ideal solution, since it only provides you with the results from an interrupted, non-complete load test. But at least it prevents you from entirely losing the already gathered data.

Watch the Recovering Results video

In the following video, you can watch how we performed the above described steps:

More information

To learn more about all new features and enhancements Silk Performer 17.5 provides, take a look at the following blog posts:

The Silk Performer Help is another comprehensive source of information:

If this article was useful for you, leave us a comment or like it. We appreciate your feedback.

Tags (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.