⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.html

📁 J2EE Tester 测试器是一款用于测试发布于服务器端(如Weblogic, Websphere)的 EJB组件、Servlet以及 Beans的黑盒/白盒智能化测试工具。它的功能主要有以下三点:
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset="GB2312">
	<TITLE>J2EE Tester User Guide</TITLE>
	
</HEAD>

<BODY BGCOLOR="#ffffff">
<table WIDTH="100%"><tr>
    <td height="109"> 
      <P><font face="Verdana, Arial, Helvetica, sans-serif" size="+3" COLOR="#000099"><b>J2EE 
        Tester User Guide&reg; </b></font></P>
      <P><font face="Arial, Helvetica, sans-serif"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Version: 
        1.00 </font></font></P>
      <P><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Copyright 
        2002-2003 By Lafare All Right Reserved. </font></P>
      </td>
    <td width="20%" height="109"><a href="http://www.j2eetester.com/"><img SRC="J2EE%20Tester.gif" border=0 height=50 width=150></a><br>
      <P><font size="-1"><a href="mailto:hjp1999@263.net">http://www.j2eetester.com.cn</a><br>
        <a href="mailto:hjp1999@263.net">hjp1999@263.net</a></font></P>
    </td></tr></table>
<hr width="100%" size="5" color="#0000aa">
<P STYLE="margin-top: 0.17in;text-decoration: none; page-break-before: auto;page-break-after: avoid"><FONT SIZE=+2><B>Table 
  of Contents</B></FONT></P>
<!-- Start new chapter -->
<P STYLE="margin-bottom: 0in; text-decoration: none; page-break-before: auto; page-break-after: avoid">	
  <FONT SIZE=4 STYLE="font-size: 16pt"><B><A HREF="#1.introduction">1.Introduction</A></b></FONT></P>
<P STYLE="margin-bottom: 0in; text-decoration: none; page-break-before: auto; page-break-after: avoid"><b><font size="4"><a href="#2.install">2.Install</a></font></b></P>
<P STYLE="margin-bottom: 0in; text-decoration: none; page-break-before: auto; page-break-after: avoid"><b><font size="4"><a href="#3.using">3.Use J2EE Tester
</a></font></b></P>
<p> </p>
<a name="1.introduction"></a>
<p><font size="3"><b>1.Introduction</b></font></p>
<p> <font face="GB2312" size="2">
&nbsp;1) J2EE Tester is a testing tool for testing the EJB components、Servlet and Beans<br>
&nbsp;&nbsp;&nbsp;which deployed on the server(eg. Weblogic、 Websphere、 Apusic).<br>
&nbsp;2)J2EE Tester is a black box/white box intelligent test tool, It is don't effect the <br>
&nbsp;&nbsp;&nbsp;server's performance.It is much more faster than JBuilder and other develope IDE because <br>
&nbsp;&nbsp;&nbsp;it is much more light and only need to connect to the server and get the debug information.<br> 
&nbsp;3)Main function list:<br>
  &nbsp;&nbsp;&nbsp;I. Bulid the testing class's test profile report and create dmp file.<br>
  &nbsp;&nbsp;&nbsp;II. Build the testing class's exception detail report,record the exception <br>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;linenumber、style、method name、time and sourcecode<br>
  &nbsp;&nbsp;&nbsp;III. Add Breakpoint as your need, and check the value of the members and local variables<br>
<br>
<br>

&nbsp;J2EE Tester's architecture:
<br>
</font></p>
<p><img src="Architecture.gif" width="600" height="400"> </p>

<a name="2.install"></a>
<h4><font size="3"><b>2.Intall</b></font></h4>
<p> <font face="GB2312" size="2"> 
    Install J2EE Testor<Br>
    I: copy the connector.zip into your disk's directory<BR>
    II: Extract connector.zip to one directory<BR>
    III: you will see all the file in the directory then ok<BR>
<br>
<p> </p>
<a name="3.using"></a>
<h4><font size="3"><b>3.Use J2EE Tester</b></font><Br></h4>
    
    <h5>I: First you must sure JDK are available in your system If not then install it.<br>
    II: Config the JVM parameter</h5>
<p>Add the follow parameter to the EJB Server's start java command:
<br><font color="#0000FF"> -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=j2eetester</font><br>
For Example in Weblogic6.1 the start command is <font color="#ff0000">startWebLogic.cmd.</font> Find the java command Line:<br>
<font color="#FF0000">"%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -classpath "%CLASSPATH%" -Dweblogic.Domain=lafare -Dweblogic.Name=<br>
myserver "-Dbea.home=d:\bea" -Dweblogic.management.password=%WLS_PW% -Dweblogic.ProductionModeEnabled=%STARTMODE% "<br>
 -Djava.security.policy==d:/bea/wlserver6.1/lib/weblogic.policy" weblogic.Server
</font><br>
 Then add the parameter to the command, just like that: <br>
<font color="#FF0000">"%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -classpath "%CLASSPATH%" -Dweblogic.Domain=lafare -Dweblogic.Name=<br>
myserver "-Dbea.home=d:\bea" -Dweblogic.management.password=%WLS_PW% -Dweblogic.ProductionModeEnabled=%STARTMODE% "<br>
 -Djava.security.policy==d:/bea/wlserver6.1/lib/weblogic.policy" <br>
 <font color="#0000FF"> -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=</font></font><font color="#0000FF">dt_shmem</font><font color="#FF0000"><font color="#0000FF">,server=y,suspend=n,address=</font></font><font color="#0000FF">j2eetester</font><font color="#FF0000"><br>
 weblogic.Server
</font><br>
<br>
-Xrunjdwp prameter Examples <br>

<font color="#0000FF">-Xrunjdwp:transport=dt_socket,server=y,address=8000 </font><br>

Listen for a socket connection on port 8000. Suspend this VM before main class loads (suspend=y by default). Once the debugger <br>
application connects, it can send a JDWP command to resume the VM.<br>

<font color="#0000FF">-Xrunjdwp:transport=dt_shmem,server=y,suspend=n</font><br>

Choose an available shared memory transport address and print it to stdout. Listen for a shared memory connection at that address.<br>
Allow the VM to begin executing before the debugger application attaches.<br>

<font color="#0000FF">-Xrunjdwp:transport=dt_socket,address=myhost:8000</font><br>


Attach to a running debugger application via socket on host myhost at port 8000. Suspend this VM before main class loads.<br>

<font color="#0000FF"> -Xrunjdwp:transport=dt_shmem,address=mysharedmemory</font><br>


Attach to a running debugger application via shared memory at transport address "mysharedmemory". Suspend this VM before main class loads.<br>

<h5>III: Run the EJB Server</h5>
<h5>IV: Double click the run.cmd in the install directory, the main GUI just as follow: </h5>




<p><img border="0" src="UI_main.gif" width="404" height="300"><p>
<br>
<h5>V: Click the GUI's new button to new and config a new Connector to EJB Server, set the parameters as follow<br>
(the SourceDir is your java code source dir) and click OK button  </h5><br>
<img border="0" src="ui3.gif" width="470" height="418"><br>

<h5>VI: Click the GUI's Connect button to connect the JVM of the  EJB Server<br>
If your EJBServer is running, The Application will connect to it.<br>

<p><img border="0" src="MainGUI-expression.gif" width="807" height="600">&nbsp;<br>
</p>
<br>
Thanks for all, any question just E-mail to me: <a href="mailto:hjp1999@263.net">hjp1999@263.net</a>
</font></p>
<hr WIDTH="100%"><font size=-1 color="#000099">J2EE Tester is trademark of Connector Software WorkStation 2002 <br>Copyright&reg; connector Software WorkStation 2002. All rights reserved.</font>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -