0% found this document useful (0 votes)
85 views5 pages

SDK Silk Performer

The Silk Performer SDK allows integration with Silk Performer projects and includes interfaces for Java and C++. It contains header files, documentation, samples, and libraries. The SDK interfaces provide functions for project handling, deployment, measurements, and reporting. Samples include a Java project and Visual Studio C++ project that demonstrate using the SDK to run a provided Web Browser Driven sample Silk Performer project.

Uploaded by

Jorge Luque
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views5 pages

SDK Silk Performer

The Silk Performer SDK allows integration with Silk Performer projects and includes interfaces for Java and C++. It contains header files, documentation, samples, and libraries. The SDK interfaces provide functions for project handling, deployment, measurements, and reporting. Samples include a Java project and Visual Studio C++ project that demonstrate using the SDK to run a provided Web Browser Driven sample Silk Performer project.

Uploaded by

Jorge Luque
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Silk Performer

Software Development Kit


Table of Contents
Overview .................................................................................................................................................. 3
Silk Performer Workbench Installer ........................................................................................................ 3
Execution Module .................................................................................................................................... 3
SDK Interface ........................................................................................................................................... 3
Overview .............................................................................................................................................. 4
Contents............................................................................................................................................... 4
Silk Performer SDK – Java ................................................................................................................ 4
Silk Performer SDK – DLL/C++ .......................................................................................................... 4
Sample Silk Performer Project ......................................................................................................... 5
Overview
The Silk Performer SDK is comprised of the following:
1. The Silk Performer Workbench Installer
2. The Execution Module
3. The SDK Interface (header files), samples, and documentation

Silk Performer Workbench Installer


The Silk Performer Workbench is required for script development and for recording, customizing, and
verifying scripts. You can create complete project packages (.ltz) with Silk Performer Workbench.

Execution Module
The execution module is an agent-only installer. You can install the execution module using the GUI
or silent setup mode.

Installation using the GUI


Locate and double-click the file sp-sdk-exec-module-setup.exe. Then follow the
instructions provided by the installer.

Installation in silent mode

1. Copy the installation files to a new folder on your local computer.


2. Open the file silent.sdk.properties in a text editor.
3. You can modify the following parameters:
a. CHOSEN_INSTALL_SET: Specify SDK to install the SDK or Agent to install the agent
software.
b. USER_INSTALL_DIR: Specify the installation directory.
c. DONT_INSTALL_NETWORKEMULATION: Set to false to skip the network emulation
driver installation. Note: Installing the network emulation driver will reset the
network connection of the machine and temporarily disconnect it from the network.
The network emulation driver is required to enable latency and packet drop
emulation.
4. Save the file.
5. Switch back to the folder and open a command line prompt.
6. Enter the following command:
sp-sdk-exec-module-setup.exe -f c:\<your directory>\
silent.sdk.properties

Silk Performer is then installed based on the settings you defined in the file
silent.sdk.properties.

SDK Interface
The SDK interface contains the header files, samples, and documentation. The interface is available
as a separate ZIP file. You must have Silk Performer Workbench or the execution module installed
before you can install the SDK interface. The SDK interface is described in detail below.
Overview
The Silk Performer (SP) Software Development Kit (SDK) allows you to create and manipulate
deployment packages, so-called project files, including compilation and execution of associated BDL
scripts.
The SDK offers a DLL interface for native integration scenarios and a Java archive for integrations
with Java based environments. Both interfaces provide equal functionality, however on different
levels. The DLL provides function-based interfaces, the Java archive provides a higher interface level
by a number of Java classes.
The SDK comprises the following interfaces:
• DLL Initialization and Cleanup
• Project Handling Interface
• Deployment Interface
• HTTP Upload Interface
• Real Time Measurements Interface
• Reporting Interface
• BDL Script Introspection Interface
• Error Handling Interface
The detailed interface (API) documentation can be found here:
• Java
• DLL (C++)

Contents
The Silk Performer SDK is a package that contains include files, documentation, and samples. The
binaries required for load test or monitoring executions are already part of the Silk Performer
Controller/Workbench installation and of the dedicated SDK installation.

This package consists of two major parts: the SDK package for Java and for C++.

Silk Performer SDK – Java


• API documentation (html)
• main library (JAR File): \lib\sgem.jar
• dependent libraries: \lib\core.jar
• sample
o eclipse project: \.project
o source code: \src\SDK_Sample.java

Silk Performer SDK – DLL/C++


• API documentation (html / SDK.chm)
• include files (\include)
the main include file is sgExecManager.h.
• link library for sgExecManager.dll:
o \lib\VS2012\sgExecManager.lib (for Microsoft Visual Studio 2012)
• sample
o \VS2012\SDK_Sample.vcxproj (for Microsoft Visual Studio 2012)
o The source code of the samples resides in the folder \src (main.cpp file).
o The sample Visual Studio projects produce an executable \SDK_Sample.exe.
Note: If you want to run the sample, you must add the Silk Performer installation
directory to the environment variable PATH so that the sgExecManager.dll can be
loaded.
To do so, use the provided batch file \StartSDK_Sample.cmd .
The Visual Studio sample projects are also configured (Project Properties / Debugging
settings / Environment) so that the PATH variable is set correctly.

Sample Silk Performer Project


In general, the SDK can run any Silk Performer project with a matching version.

To get you started quickly, a Web Browser Driven (BDLT) Silk Performer sample project and script is
attached, which runs against the public demo.borland.com server. It requires nothing more than
an Internet Explorer and an Internet connection.

The sample Silk Performer project is located in the folder \BDLT_For_SDK.

The relative path to the sample Silk Performer project is hard coded in the sample .java or .cpp files.
You must adapt the path if you want to run a different Silk Performer project.

26-03-2015

You might also like