CLIF v2.3 Installation Manual

Similar documents
Test management and load testing with Salomé-TMF and CLIF is a Load Injection

vsphere Web Client SDK Documentation VMware vsphere Web Client SDK VMware ESXi vcenter Server 6.5.1

vsphere Client SDK Developer Guide 03 MAY 2018 VMware vsphere vsphere Client SDK

!"#$%&'()%*+,&+-%+,.%/)01)+**()2'%1&3.(

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

vsphere Client SDK Developer Guide 17 APR 2018 VMware vsphere 6.7 vsphere Client SDK 6.7

Getting Started with Eclipse/Java

Java Plugin Windows Xp 32 Bit Full Version With Key

Certified Core Java Developer VS-1036

JPA - INSTALLATION. Java version "1.7.0_60" Java TM SE Run Time Environment build b19

Dell EMC ME4 Series vsphere Client Plug-in

Before you start working with Java, you need to set up a Java development

What s NetBeans? Like Eclipse:

Oracle Weblogic products are available at

This tutorial will take you through simple and practical approaches while learning AOP framework provided by Spring.

Installing Eclipse (C++/Java)

jmeter is an open source testing software. It is 100% pure Java application for load and performance testing.

Table of Contents. 1 Introduction Downloads Eclipse SDK Installation Eclipse Workspace Eclipse Preferences...

EMC Documentum Composer

Manual Java For Mac Developer Package

TogoDocClient Plug-ins development manual. TogoDocClient plug-ins development manual

Server Monitoring. AppDynamics Pro Documentation. Version 4.1.x. Page 1

AppDev StudioTM 3.2 SAS. Migration Guide

i2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Jenkins

Uninstall Java Manual Mac Os X Mountain Lion Oracle

Creating Android Apps from Rh10

Software Installation Guide

RTMS - Software Setup

Purpose. Why use Java? Installing the Software. Java

S D K Q U I C K S T A R T

Installation Guide Release 7.4

Software Development Kit

Installing DevPartner Java Edition Release 4.1

Setting up your Computer

Install Guide. Version 1.0 Demonstration. Copyright 2007 MGH

Objective. Contents. To learn how to install Eclipse and PTP

Installing the DITA CMS Eclipse Client

TEMPO INSTALLATION I O A. Platform Independent Notes 1. Installing Tempo 3. Installing Tools for the Plugins 5. v0.2.

GUT. GUT Installation Guide

Slide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto

For live Java EE training, please see training courses at

TIBCO ActiveMatrix BusinessWorks Installation

OpenL Tablets OpenL Tablets BRMS

Manually Java 7 Update Bits Windows 7

Manually Java 7 Update Bit Windows 8

This tutorial explains how you can use Gradle as a build automation tool for Java as well as Groovy projects.

This section contains information you should review before using this book. Any updates to the information presented here will be posted at:

Manual Update Java Mac Os X Lion

Installation manual. source code (03/11/2010)

Java Puzzle Ball Nick Ristuccia

Running Java Programs

EUSurvey OSS Installation Guide

Documentum Composer EMC. Quick Start Guide. Version 6.5 SP3

TIBCO Business Studio - Analyst Edition Installation

EUSurvey Installation Guide

Cadena 2.0: Install Guide

POOSL IDE Installation Manual

LogicBlaze FUSE for WebSphere Application Server Community Edition Integration Guide

Websphere Force Uninstall Application Server 8 Linux Install

Setup and Getting Startedt Customized Java EE Training:

EMC Documentum Composer

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Before you start with this tutorial, you need to know basic Java programming.

Android Sdk Setup For Windows 7 32 Bit Full Version

Installing the DITA CMS Eclipse Client

Installation Guide - Mac

Remove Java Manually Mac Os X Lion Server

Zulu User's Guide. Zulu Release 10.3, 8.31, 7.24, and 6.21 July 19, 2018

Apache Tomcat Installation guide step by step on windows

JAVA TM SERVER AND SERVLETS BUILDING PORTABLE WEB APPLICATIONS

Manual Update Java 7 25 Mac 32 Bit

Eclipse Environment Setup

Deploying Cisco Nexus Data Broker

Red Hat JBoss Enterprise Application Platform 6.4

Developing Eclipse Rich-Client Applications Tutorial

opencrx Server Installation

JavaFX. JavaFX Overview Release E

Artix Orchestration Installation Guide. Version 4.2, March 2007

TIBCO ActiveMatrix BusinessWorks Plug-in for Microsoft SharePoint Installation

COPYRIGHTED MATERIAL

COMP 110/401 APPENDIX: INSTALLING AND USING ECLIPSE. Instructor: Prasun Dewan (FB 150,

Manual Update Java 7 25 Mac Windows 7 64 Bit

Installing Java 8 on the roborio using the FRC

Java Plugin Update Windows 7 32 Bit To 64 Bit

RadBlue s S2S Quick Start Package (RQS) Developer s Guide. Version 0.1

Chapter 2 WEBLOGIC SERVER DOMAINS. SYS-ED/ Computer Education Techniques, Inc.

IWeb. Installation Guide. v5.16.5

OpenESB SE Enterprise Edition V3.0 Installation guide

Manually Java 7 Update Bit Offline

Integra Codebase 4.2 SP1 Installation and Upgrade Guide

Composer Deployment Guide. Installation

How To Install Java Manually Linux Terminal Server 2008

LinuxScope-JTD Installation Guide. Version 4.0.0

COMP220/285 Lab sessions 1-3

Manual Update Java Bit Offline

Manual Update Java Mac Os X To 10.7

An Introduction to Eclipse: Quick Guide. Part 1: Getting Started with Eclipse Part 2: Working with Eclipse Useful Online Guides

Module Road Map. 7. Version Control with Subversion Introduction Terminology

Installation java windows xp free. Installation java windows xp free.zip

Transcription:

21st January 2016 CLIF v2.3 Installation Manual http://clif.ow2.org/ Copyright 2006 2013 France Telecom SA Copyright 2016 Orange SA 1

CLIF installation guide Table of contents 1 How to get CLIF working?...3 1.1 Technical requirements...3 1.2 Ready to use distributions...3 1.3 Checking CLIF version and execution environment...4 1.4 Upgrading from CLIF v1.x.x...4 2 Installing a CLIF server or a CLIF Swing console...5 2.1 Requirements...5 2.2 Configuration...5 2.3 Execution...5 2.4 Getting Apache ant working...5 2.4.1 For Windows...6 2.4.2 For Linux...8 2.4.3 For Mac OS X...9 3 Installation of the Eclipse based console...10 3.1 Install the Eclipse based standalone CLIF distribution...10 3.2 Alternative: install the Eclipse plug ins...10 2

21st January 2016 1 How to get CLIF working? 1.1 Technical requirements The CLIF framework and provided load injectors are 100% Java. CLIF requires a Java Runtime Environment (JRE) or a Java Development Kit (JDK), version 6 or greater. OpenJDK or Oracle (http://www.oracle.com/technetwork/java/javase/downloads) Java environments are supported. Optionally, CLIF comes with a command line interface based on the Java based Apache ant utility, version 1.8.0 or greater (http://ant.apache.org/bindownload.cgi). Note that this ant based interface is now deprecated. It is recommended to use the shell script based command line interface instead, for it provides a reliable configuration system with regard to network properties. Besides, it is simpler to use since it does not require additional dependencies. Should you go for the ant based interface however, make sure ant is using the right JDK! Take care of the JAVA_HOME environment variable (refer to section 2.4). The main CLIF graphical user interface (aka console) is based on the Eclipse environment. You may install CLIF's plug ins in your Eclipse environment (versions from 3.3 "Europa" to 3.7 "Indigo"), or use ready to use Eclipse distributions including CLIF plug ins. These distributions are available for download from the CLIF forge's download area, for the following operating systems: Linux (2.6 kernels or greater), MacOSX, Windows (XP or later), all for both 32 bits and 64 bits Intel architectures. 1.2 Ready-to-use distributions To get a ready to use binary distribution, go to CLIF's web site at http://clif.ow2.org, and go to the download area: http://forge.ow2.org/project/showfiles.php?group_id=57. Here, you will find the following software packages: clif eclipse linux 32 "CLIF Eclipse console": full featured, Eclipse based console for Linux/Intel 32 bits clif eclipse linux 64 "CLIF Eclipse console": full featured, Eclipse based console for Linux/Intel 64 bits clif eclipse macosx 32 "CLIF Eclipse console": full featured, Eclipse based console for MacOSX/Intel 32 bits clif eclipse macosx 64 "CLIF Eclipse console": full featured, Eclipse based console for MacOSX/Intel 64 bits clif eclipse windows 32 "CLIF Eclipse console": full featured, Eclipse based console for Windows/Intel 32 bits clif eclipse windows 64 "CLIF Eclipse console": full featured, Eclipse based console for Windows/Intel 64 bits clif server "CLIF server": provides the minimal runtime environment to be installed on a remote host for deploying probes and injectors. It is operating system independent. clif selbench "CLIF selfbench": CLIF lab for automatic test drive. Basically a "CLIF server" distribution enhanced with components for load injection regulation and saturation control (for advanced users). clif swing "CLIF Swing console": a CLIF server enhanced with a simplified graphical console, 3

CLIF installation guide operating system independent. This console supports test plan definition, execution and monitoring, as well as final analysis and reporting. Does not support editing scenarios ("ISAC"). eclipse plugins CLIF plugins for Eclipse. It allows to use the full featured CLIF console from your Eclipse environment. Unzip to the dropins directory of your Eclipse environment. jenkins plugin CLIF plugin for the Jenkins continuous integration server (http://jenkins ci.org/). Supports importing CLIF test plans as Jenkins jobs. Load tests may be launched either on demand or automatically. Performance reports are automatically generated, including statistics and charts on response times and throughput. Performance trends through test runs are also reported. 1.3 Checking CLIF version and execution environment From a CLIF Swing console or a CLIF server environment, use command ant version to get the version numbers of Java environment, operating system and CLIF. Caution: command ant version only gives the ant version. From the Eclipse based CLIF console, open the information pop up with option "CLIF>About CLIF...". 1.4 Upgrading from CLIF v1.x.x As of version 2.x.x of CLIF, some changes have occurred that introduce incompatibility issues with previous 1.x.x versions. The main change is about renaming org.objectweb to org.ow2. These incompatibilities affect: CLIF test plan files (.ctp) with regard to the probes' fully qualified class names ISAC scenarios, with regard to the renaming of some ISAC plug ins for the sake of homogeneity the change of XML DOCTYPE declaration ISAC plug ins, with regard to Java source files, because of the renaming of package org.objectweb to org.ow2 XML descriptors, because of a change of XML DOCTYPE declaration measures collected into the report directory, with regard to the copied test plans (see above) the events.classname files To easily cope with this, a translation tool is provided via the ant utility and the build.xml file provided in the dist module (see section Developer Manual): ant f /path/to/dist/build.xml 2clif2 First, this command recursively copies the content of current directory to a new directory named 2clif2 output. Then, it recursively looks for.java,.xis,.ctp,.xml,.classname and.rptdesign files in this copy directory, and proceeds with all necessary translations. 4

21st January 2016 2 Installing a CLIF server or a CLIF Swing console 2.1 Requirements To install a CLIF server or the Swing console, just unzip the distribution zip file. The clifcmd script in the bin subdirectory gives all possible controls: for running a CLIF infrastructure, including configuration, registry and CLIF servers; for deploying test plans and controlling test executions; for getting valuable information about CLIF and its execution environment. Refer to the CLIF user manual for details about available commands. Should you get into trouble with command clifcmd, please first report to the CLIF mailing list (clif@ow2.org), and then think about using the command line interface based on the Apache ant utility (see section 2.4 below). It is deprecated but still working. The Swing console must be installed on the host you will be using to define and run your test plans, using a graphical user interface. The CLIF server distribution must be installed on every host on which you'll deploy injectors and probes, as defined in your test plans. It can be used also to deploy and run existing test plans, but without any graphical interface. 2.2 Configuration The Swing console just runs without any configuration as long as your test plans don't use remote CLIF servers. Configuration is necessary anytime you need to run CLIF servers on a different host than the one where the CLIF registry is running. The clifcmd script provides a configuration helper. Refer to the User Manual for details. In order to be able to run the clifcmd command, you need either to prefix the command name with its path, or to add its absolute path (including the bin directory of the CLIF distribution) to your system PATH environment variable. The clifcmd command will use the clif.opts configuration file in current directory. If it does not exist, a default clif.opts file is automatically created from the template available in the CLIF distribution (in directory etc/). 2.3 Execution To run the Swing console, enter command line: clifcmd gui A CLIF registry must be running before running a CLIF server. The easiest way is just to run a CLIF console first, since it automatically starts a CLIF registry if none is found to be running. To run a CLIF server, enter command line: clifcmd server Refer to the CLIF User Manual for more information about distributed test plans and configuration of networking parameters. 2.4 Getting Apache ant working Note. The ant based interface is deprecated. Consider using the command line interface based on the clifcmd utility, which does not require ant to be installed. 5

CLIF installation guide 2.4.1 For Windows You must set the JAVA_HOME system variable, giving the path to your Java Runtime Environment or Development Kit directory (adapt this example accordingly to your specific Java set up): JAVA_HOME=C:\Program Files\Java\jdk1.6.0_35 You may also add Apache ant's binary directory to your PATH system variable, so that you can invoke the command without entering its full path: PATH=...preexisting path...;\bin To set both system variables, open Windows' Control Panel, select the System panel, and click on the Advanced system settings link. Then, click on the Environment Variables... button. Define JAVA_HOME as a System variable, and add the path to Apache ant's root directory to the Path system variable. 6

7 21st January 2016

CLIF installation guide 2.4.2 For Linux Packages of Apache ant are provided by most Linux distributions. They make ant work just out of the box. Should you experience troubles while trying to run ant, or if you manually install Java and Apache ant without your distribution's packaging tools, please refer to the following recipe: You have to set the following environment variables (adapt this example according to the specific paths of your Linux distribution and Java installation): JAVA_HOME=/usr/lib/jvm/java 6 openjdk ANT_HOME=/usr/share/ant If you did not install ant through the standard package installation process of your Linux distribution, then add ant's bin directory to your PATH environment variable: PATH=$PATH:$ANT_HOME/bin The same issue also applies to the installation of Java: PATH=$PATH:$JAVA_HOME/bin Edit the.bash_profile file (or equivalent according to your default shell) in your home directory and insert the following lines: # User specific environment and startup programs 8

21st January 2016 JAVA_HOME=/usr/lib/jvm/java 6 openjdk ANT_HOME=/usr/share/ant PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin export ANT_HOME export JAVA_HOME Then, you must log out and in again to reload the.bash_profile file. Finally, check if the right Java version and ant version are used by your system. $ java version java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24 1.11.5 0ubuntu1~11.04.1) OpenJDK 64 Bit Server VM (build 20.0 b12, mixed mode) $ ant version Apache Ant version 1.8.1 compiled on October 13 2010 2.4.3 For Mac OS X Now you have to set the following environment variable: JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home ANT_HOME=/usr/share/ant Refer to section 2.4.2 above to set these variables, for the configuration process is quite similar. 9

CLIF installation guide 3 Installation of the Eclipse-based console 3.1 Install the Eclipse-based standalone CLIF distribution Eclipse based binary distributions of CLIF are standalone programs that include a full Eclipse environment for a specific operating system and architecture. All they require is a JDK. Unzip the distribution anywhere on your computer, and simply run the clif console program. As an Eclipse application, a number of common options may be added to the clif console command, such as: consolelog to see messages printed out to your terminal; vm /path/to/the/jvm to set the right Java Virtual Machine to be used; data /path/to/my/workspace to use a workspace directory different from the default CLIFspace directory; vmargs...jvm options... to pass arguments to the JVM. 3.2 Alternative: install the Eclipse plug-ins Unzip the eclipse plugin distribution to the dropins directory of your Eclipse environment. The CLIF menu should appear in your Eclipse menu bar. Otherwise, some troubleshooting must be done to get CLIF plug ins working. You may check the availability of the following bundles: org.apache.log4j, org.apache.lucene, org.eclipse.core.resources, org.eclipse.core.runtime, org.eclipse.help.appserver, org.eclipse.help.base, org.eclipse.help.ui, org.eclipse.help.webapp, org.eclipse.jdt.core, org.eclipse.jdt.launching, org.eclipse.jdt.ui, org.eclipse.jface, org.eclipse.jface.text, org.eclipse.ui, org.eclipse.ui.console, org.eclipse.ui.forms, org.eclipse.ui.ide, org.eclipse.ui.cheatsheets, org.eclipse.wst.sse.core, org.eclipse.wst.xml.core, org.eclipse.wst.sse.ui, org.eclipse.wst.xml.ui 10