快速业务通道

Eclipse Test and Performance Tools Platform简介 - 编程入门网

作者 佚名技术 来源 NET编程 浏览 发布时间 2012-06-18
g: symbolic link (lib/libxerces-c.so.24) failed

那么必须通过输入以下命令来手工重新创建这两个链接:

% cd $JAVA_DIR/tptpd/lib % rm libxerces-c.so libxerces-c.so.24 % ln -s libxerces-c.so.24.0 libxerces-c.so % ln -s libxerces-c.so.24.0 libxerces-c.so.24

添加 Agent Controller 目录

要使用 Agent Controller,必须将它的 lib 目录添加到 LD_LIBRARY_PATH 中。例如,如果正在运行 Linux 并采用以上步骤中给出的目录结构,那么用以下命令添加 $JAVA_DIR/tptpd/lib:

% export LD_LIBRARY_PATH=$JAVA_DIR/tptpd/lib:$LD_LIBRARY_PATH

还必须确保 Controller 的 lib 和 bin 目录的内容是可执行的。为此,运行:

% chmod +x $JAVA_DIR/tptpd/{bin,lib}/*

现在将配置和启动 Agent Controller 的脚本添加到 PATH:

% export PATH=$JAVA_DIR/tptpd/bin:$PATH

针对环境配置 Agent Controller

最后,要配置 Agent Controller 以便匹配环境。进入 Agent Controller 的 bin 目录,然后运行 SetConfig.sh。

% cd $JAVA_DIR/tptpd/bin % ./SetConfig.sh

当配置脚本提示您进行选择时,接受默认设置。运行配置脚本会在 Agent Controller 的文件层次结构中创建文件 config/serviceconfig.xml。

测试 Agent Controller

为了测试 Agent Controller,运行 RAStart.sh。为了停止 Agent Controller,运行 RAStop.sh:

清单 4. 停止 Agent Controller

db% RAStart.sh Starting Agent Controller RAServer started successfully % RAStop.sh RAServer stopped, pid = 5891 RAServer stopped, pid = 5892 RAServer stopped, pid = 5893 RAServer stopped, pid = 5894 RAServer stopped, pid = 5895 RAServer stopped, pid = 5896 RAServer stopped, pid = 5897 RAServer stopped, pid = 5898 RAServer stopped, pid = 5899 RAServer stopped, pid = 5900 RAServer stopped, pid = 5901 RAServer stopped, pid = 5902 RAServer stopped, pid = 5904 RAServer stopped, pid = 5905 RAServer stopped, pid = 5906

Eclipse Test and Performance Tools Platform酒初(5)

扮寂:2011-02-25 IBM Martin Streicher

?壓頼撹阻?嶷仟尼強 Eclipse。壓 Eclipse 垢醤生貧哘乎氏心欺匯倖仟梓泥?泌夕 1 侭幣。宸頁 TPTP Profile 梓泥。TPTP 厮将芦廾阻?艇辛參写偬僥楼云縮殻阻。

夕 1. TPTP Profile 梓泥

斤 Java 哘喘殻會序佩蛍裂

屡隼厮将芦廾阻 TPTP 才久蚊罷周??壓祥塰佩 Eclipse。

幣箭哘喘殻會

勣蛍裂議 Java 哘喘殻會需賠汽 5。

賠汽 5. 喇富楚斤?怏撹議酒汽 Java 哘喘殻會

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class SpaceShipToy {    /*     * To build a spaceship, you need a capsule, a booster,     * three stages, and two monkeys (borrowed     * from a Barrel of Monkeys).     */    public Capsule capsule = new Capsule();    public Booster booster = new Booster();    public Stage[] stage = new Stage[3];    public SpaceShipToy()    {      for (int i = 0; i < 3; i++)      stage[i] = new Stage();    }    private void _killTime(int seconds)    {      if (seconds <= 0)       return;      for (int i = 0; i < seconds; i++);    }   static final int MINUTE = 60;  

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号