SilkPerformer®Java Explorer2006 Release 2User Guide
6 SilkPerformer Java Explorer User GuideINTRODUCTIONSample Applications for SilkPerformer SOA Editionexisting clients, or by importing JUnit test fram
96 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSProject SettingsNote The Runtime classpath is stored in both JExlorer.conf a
SilkPerformer Java Explorer User Guide 977Chapter 7 Exporting ProjectsWhat you will learn This chapter contains the following sections:OverviewOnce y
98 SilkPerformer Java Explorer User Guide7 EXPORTING PROJECTSSilkPerformer Java Projects2 Specify a name and destination for the exported file, as in
SilkPerformer Java Explorer User Guide 997 EXPORTING PROJECTSJUnit Test CasesJava Profile Settings will be saved in the SilkPerformer project file, s
100 SilkPerformer Java Explorer User Guide7 EXPORTING PROJECTSJUnit Test Cases4 The Open TestSuite in JUnit checkbox enables you to start the JUnit t
SilkPerformer Java Explorer User Guide 1017 EXPORTING PROJECTSStandalone Console ApplicationsTest case execution sequenceNote that there are differen
102 SilkPerformer Java Explorer User Guide7 EXPORTING PROJECTSStandalone Console Applications2 Specify a File name and destination Directory for the
SilkPerformer Java Explorer User Guide 103Symbols.NET.NET 2003 4.NET Explorer 3.NET Message sample 6.NET Remoting 2, 6, 9Test drivers 2AAdd-In for Vis
104 SilkPerformer Java Explorer User GuideProcesses 86Setting up projects 15Java Framework 12, 98Java Naming Service (JNDI) 49Java Remote Method Proto
SilkPerformer Java Explorer User Guide 105TTest cases 21, 74Details & summaries 78Global 29Local 29Main test cases 23New 21Understanding test case
SilkPerformer Java Explorer User Guide 7INTRODUCTIONSample Applications for SilkPerformer SOA Edition• Web Services• ASP.NET applications communicatin
106 SilkPerformer Java Explorer User Guide
8 SilkPerformer Java Explorer User GuideINTRODUCTIONSample Applications for SilkPerformer SOA EditionJava RMI SamplesFour Java RMI sample applications
SilkPerformer Java Explorer User Guide 9INTRODUCTIONSample Test ProjectsRMI Testing with RMI over IIOP A simple example server can be found at: <Si
10 SilkPerformer Java Explorer User GuideINTRODUCTIONSample Test ProjectsJava Sample ProjectsJDBC This sample project implements a simple JDBC client
SilkPerformer Java Explorer User Guide 111Chapter 1 Java Framework Testing with SilkPerformerWhat you will learn This chapter contains the following
12 SilkPerformer Java Explorer User Guide1 JAVA FRAMEWORK TESTING WITH SILKPERFORMERTesting Java ComponentsThe Java Framework enables users to run st
SilkPerformer Java Explorer User Guide 131 JAVA FRAMEWORK TESTING WITH SILKPERFORMERTesting Java Componentsthey are decoded and presented to the user
14 SilkPerformer Java Explorer User Guide1 JAVA FRAMEWORK TESTING WITH SILKPERFORMERTesting Java Components
SilkPerformer Java Explorer User Guide 152Chapter 2 Setting Up Java Explorer ProjectsWhat you will learn This chapter contains the following sections
Borland Software Corporation20450 Stevens Creek Blvd., Suite 800Cupertino, California 95014 USAhttp://www.borland.comBorland Software Corporation may
16 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSCreating a New ProjectCreating a New ProjectUpon opening Java Explorer yo
SilkPerformer Java Explorer User Guide 172 SETTING UP JAVA EXPLORER PROJECTSCreating a New ProjectOverview of the interfaceThe Java Explorer interfac
18 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSDefining a TestThe Output Data Properties field shows the properties of t
SilkPerformer Java Explorer User Guide 192 SETTING UP JAVA EXPLORER PROJECTSDefining a TestNote When testing EJBs a dialog prompts you for EJB-speci
20 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSDefining a Test7 If required, you can change Web Service proxy and authen
SilkPerformer Java Explorer User Guide 212 SETTING UP JAVA EXPLORER PROJECTSDefining a TestNote Login and logout methods must be in first and last p
22 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSDefining a Test14 Click Next.Note If you’ve selected a method that takes
SilkPerformer Java Explorer User Guide 232 SETTING UP JAVA EXPLORER PROJECTSUnderstanding Test CasesThe invoked method calls (service1.echoString and
24 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSUnderstanding Test CasesNames of test cases are restricted. As they are m
SilkPerformer Java Explorer User Guide 253Chapter 3 Setting Up TestsWhat you will learn This chapter contains the following sections:Section PageOver
SilkPerformer Java Explorer User Guide iiiContentsContentsIntroduction 1How to Use this Guide . . . . . . . . . . . . . . 1SilkPerforme
26 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSOverviewOverviewThis chapter explains how to set up and customize your tests in Java Explo
SilkPerformer Java Explorer User Guide 273 SETTING UP TESTSDesign ViewLoaded Components WindowThe Loaded Components window, accessible via Design vie
28 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSDesign ViewWeb Services are treated as if they only have static methods.The following fold
SilkPerformer Java Explorer User Guide 293 SETTING UP TESTSDesign ViewObjects view shows objects stored in variables that have global scope and those
30 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSCode ViewVariablesDepending on variable type—either simple value type or complex object—va
SilkPerformer Java Explorer User Guide 313 SETTING UP TESTSOutput ViewJUnit code viewThis view displays the JUnit test script code. This code can be
32 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSOutput ViewAnimation LogAnimation Log view displays detailed information about test durati
SilkPerformer Java Explorer User Guide 333 SETTING UP TESTSCustomizing Input ParametersNote Output view can also be accessed via the Results button
34 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSStoring Output Values in Variables- If you don’t wish to use a constant value and would ra
SilkPerformer Java Explorer User Guide 353 SETTING UP TESTSManually Adding Global VariablesNote The Output Value Wizard can also be launched by clic
iv SilkPerformer Java Explorer User Guide
36 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSDefining Output Value VerificationsGlobal variables can be used as input parameters for fu
SilkPerformer Java Explorer User Guide 373 SETTING UP TESTSDefining Output Value VerificationsNote See “Verification with NULL or variable” for deta
38 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSDefining Output Value Verifications4 Click OK.Verification with NULL or variableThe Verifi
SilkPerformer Java Explorer User Guide 393 SETTING UP TESTSDefining Output Value Verificationsjava.lang.String; so variables that represent a string
40 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSAdding & Updating Method CallsAdding & Updating Method CallsProcedure To add a me
SilkPerformer Java Explorer User Guide 413 SETTING UP TESTSComplex Input/Output Data3 Specify the variable’s name and scope as described in “Storing
42 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSComplex Input/Output Data3 For example, you can specify that a variable be used as input.A
SilkPerformer Java Explorer User Guide 433 SETTING UP TESTSComplex Input/Output DataJava Explorer then automatically adds or removes the required ele
44 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSComplex Input/Output Data6 Click OK.Using complex input data exampleFollowing is an exampl
SilkPerformer Java Explorer User Guide 453 SETTING UP TESTSRandom Variable Wizard3 Define the array elements by calling the method setString on the o
SilkPerformer Java Explorer User Guide 1IntroductionAbout this chapter This introduction serves as a high-level overview of the different test approac
46 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSRandom Variable WizardAlternative Alternately, if you’ve already configured a random vari
SilkPerformer Java Explorer User Guide 473 SETTING UP TESTSRandom Variable WizardChoose the variable type you wish to use as random variable from the
48 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSRandom Variable WizardFor each string value you must define a weighted number that indicat
SilkPerformer Java Explorer User Guide 493 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPEnterprise JavaBeans & RMI Over IIOPWhen testi
50 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPNote Protocol, host, and port comprise the naming
SilkPerformer Java Explorer User Guide 513 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOP9 Click OK.10 Back on the EJB Wizard, click Next t
52 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOP12 Click Finish to browse for the methods of the r
SilkPerformer Java Explorer User Guide 533 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPb Invoke one or more methods on the EJB object.Ven
54 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClient Classpath: Enter all jar files and classpa
SilkPerformer Java Explorer User Guide 553 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPSelect the home interface and click Finish. Confir
2 SilkPerformer Java Explorer User GuideINTRODUCTIONSilkPerformer SOA Edition OverviewSilkPerformer SOA Edition license is required to enable access t
56 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPInformation on how to call methods, define test ca
SilkPerformer Java Explorer User Guide 573 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOP- tx.jar - utils.jar - ejbportable.jar - The Prop
58 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPSelect the home interface that allows for the crea
SilkPerformer Java Explorer User Guide 593 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClick Finish and give a variable name to the EJB r
60 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClient Classpath: Enter all jar files and classpa
SilkPerformer Java Explorer User Guide 613 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPSelect the home interface and click Finish. Confir
62 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClick Finish and provide a good variable name for
SilkPerformer Java Explorer User Guide 633 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPProcedure To test SilkPerformer’s RMI sample:1 La
64 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting RMIThe getProductsByName method requires a string as parameter. ’*’ is used as a w
SilkPerformer Java Explorer User Guide 653 SETTING UP TESTSTesting RMI4 Click Next.5 The next dialog asks for the RMI registry settings and a classpa
SilkPerformer Java Explorer User Guide 3INTRODUCTIONTools Provided by SilkPerformer SOA EditionTools Provided by SilkPerformer SOA EditionSilkPerforme
66 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting RMIClick Next to see a tree of all registered remote objects in the RMI registry.
SilkPerformer Java Explorer User Guide 673 SETTING UP TESTSTesting Java ArchivesTesting Java ArchivesJava archives normally contain many classes that
68 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting Secure Web ServicesClick Next to create the instance and browse the created object
SilkPerformer Java Explorer User Guide 693 SETTING UP TESTSTesting Secure Web Servicesway of downloading server certificates is to export them from y
70 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting Secure Web ServicesWorking with Secure Web Service CallsUsing Apache Axis 1.2.1You
SilkPerformer Java Explorer User Guide 713 SETTING UP TESTSNegative TestingWeb Service Emitter TimeoutWhen generating Web service stub code for large
72 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSNegative Testing
SilkPerformer Java Explorer User Guide 734Chapter 4 Animation RunsWhat you will learn This chapter contains the following sections:OverviewAnimated r
74 SilkPerformer Java Explorer User Guide4 ANIMATION RUNSAnimated Runs• Always run End Test Case • Run all Test Cases during Animated Run • Invoke De
SilkPerformer Java Explorer User Guide 754 ANIMATION RUNSAnimated Runsdefault (1), test cases will be executed the number of times defined in this pr
4 SilkPerformer Java Explorer User GuideINTRODUCTIONTools Provided by SilkPerformer SOA EditionAlternately you can launch SilkPerformer Workbench:If y
76 SilkPerformer Java Explorer User Guide4 ANIMATION RUNSIgnoring Expected Exceptionsdescription of the failure in a ToolTip by moving your mouse ove
SilkPerformer Java Explorer User Guide 775Chapter 5 Analyzing TestsWhat you will learn This chapter contains the following sections:OverviewOnce you
78 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSUser Report3 Select the button that corresponds to the result file type you wish to generat
SilkPerformer Java Explorer User Guide 795 ANALYZING TESTSUser ReportThe Test Method Summary table offers information about each test method that has
80 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSUser ReportThe Errors table gives you information about each error that occurs during the t
SilkPerformer Java Explorer User Guide 815 ANALYZING TESTSAnimation LogError ReportThe Error Report delivers an overview of all errors that occur dur
82 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSExploring Object Propertiesalso included. When exceptions are encountered, the Animation Lo
SilkPerformer Java Explorer User Guide 835 ANALYZING TESTSExploring Method Properties• Click the Base Types button to display the parent classes of t
84 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSExploring Method Properties• Modifiers
SilkPerformer Java Explorer User Guide 856Chapter 6 System & Project SettingsWhat you will learn This chapter contains the following sections:Ove
SilkPerformer Java Explorer User Guide 5INTRODUCTIONTools Provided by SilkPerformer SOA Editionhttp://www-106.ibm.com/developerworks/java/SilkPerforme
86 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSJava Explorer ProcessesJava Explorer ProcessesWhen Java Explorer is launched,
SilkPerformer Java Explorer User Guide 876 SYSTEM & PROJECT SETTINGSSystem SettingsC:\j2sdk1.4.2_04. Click OK. This special JDK version can now b
88 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSSystem SettingsDefault Value SettingsThe Default Values options tab enables y
SilkPerformer Java Explorer User Guide 896 SYSTEM & PROJECT SETTINGSSystem SettingsVerification SettingsThese options define the behavior of veri
90 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSSystem SettingsInvoke delayDefines the delay between the invocation of method
SilkPerformer Java Explorer User Guide 916 SYSTEM & PROJECT SETTINGSSystem Settings4 Click Yes on the confirmation dialog to delete the file ent
92 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSSystem SettingsWhen a WSDL file is loaded, the Web Service class inherits the
SilkPerformer Java Explorer User Guide 936 SYSTEM & PROJECT SETTINGSSystem Settingscombo box. The classpath panel enables you to specify the clas
94 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSProject SettingsSilkPerformer SettingsThe SilkPerformer Home Directory and Si
SilkPerformer Java Explorer User Guide 956 SYSTEM & PROJECT SETTINGSProject SettingsWeb Service Plug-In SettingsJava Explorer supports Axis versi
Comentarios a estos manuales