Download CLIF user manual and programmer`s guide http://clif

Transcript
CLIF user manual and programmer's guide
>+;-(%09%80,5(,5'
1. Introduction.....................................................................................................................................4
2. Key concepts....................................................................................................................................5
3. How to get CLIF working?.............................................................................................................7
3.1. Technical requirements......................................................................................
...........................7
3.2. Ready-to-use distributions...................................................................................................
.........7
3.3. Generating a runtime environment (optional).............................................................................8
3.4. Configuring CLIF........................................................................................................
.................8
3.5. Checking Clif version and execution environment.....................................................................9
4. CLIF servers and the Registry.....................................................................................................10
4.1. Rationale...................................................................................................................
...................10
4.2. Running a Registry..........................................................................................
...........................10
4.3. Running CLIF servers............................................................................................................
.....10
5. Probes.............................................................................................................................................11
5.1. Rationale...............................................................................................................
.......................11
5.2. Available probes.............................................................................................................
.............11
5.2.1. cpu probe.........................................................................................................................11
5.2.2. disk probe........................................................................................................................12
5.2.3. memory probe..................................................................................................................12
5.2.4. network probe..................................................................................................................12
5.2.5. jvm probe.........................................................................................................................12
5.3. Defining your own probes.....................................................................................
.....................13
5.3.1. Relying on the provided probe framework........................................................................13
5.3.2. Implementing a Blade component....................................................................................13
6. Load injectors and ISAC...............................................................................................................14
6.1. Rationale.................................................................................................................
.....................14
6.2. ISAC is a Scenario Architecture for CLIF...................................................................
..............14
6.2.1. behaviors..........................................................................................................................14
6.2.2. load profiles.....................................................................................................................14
6.2.3. ISAC plug-ins...................................................................................................................14
6.2.4. Writing an ISAC scenario................................................................................................15
6.2.5. Recording an ISAC scenario for Http..............................................................................15
6.2.6. Deploying and executing an ISAC scenario.....................................................................16
6.3. Defining your own load injectors (Java programmers).............................................................16
6.3.1. Using MTScenario utility class........................................................................................16
6.3.2. Writing your own ISAC plug-ins......................................................................................16
6.3.3. Implementing a Blade component....................................................................................21
7. Eclipse-based graphical user interface.........................................................................................22
7.1. Introduction.............................................................................................................................
.....22
7.2. Getting started.........................................................................................................
....................22
7.2.1. From an Eclipse-RCP based standalone CLIF distribution.............................................22
7.2.2. From the Eclipse plug-ins................................................................................................22
7.3. Test plan edition...................................................................................................
.......................24
7.4. ISAC scenario edition.............................................................................................
....................25
2