Silk Performer 21.0 Java Explorer Help Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com © Copyright 1992-2020 Micro Focus or one of its affiliates. MICRO FOCUS, the Micro Focus logo and Silk Performer are trademarks or registered trademarks of Micro Focus or one of its affiliates. All other marks are the property of their respective owners. 2020-10-21 ii Contents Tools and Samples .............................................................................................6 Introduction ......................................................................................................................... 6 Provided Tools .....................................................................................................................7 Silk Performer .NET Explorer ................................................................................... 7 Silk Performer Visual Studio Extension ................................................................... 7 Silk Performer Java Explorer .................................................................................... 7 Silk Performer Workbench ........................................................................................8 Sample Applications for testing Java and .NET .................................................................. 8 Public Web Services ................................................................................................ 8 .NET Message Sample ............................................................................................ 9 .NET Explorer Remoting Sample ............................................................................. 9 Java RMI Samples ................................................................................................... 9 Sample Test Projects ........................................................................................................ 10 .NET Sample Projects ............................................................................................ 10 Java Sample Projects .............................................................................................11 Testing Java Components ...............................................................................12 Testing Java Components Overview ................................................................................. 12 Working With JDK Versions .............................................................................................. 12 Java Framework Approach ................................................................................................12 Plug-In for Eclipse ............................................................................................................. 12 Java Explorer Overview .................................................................................................... 13 Tour of the UI .................................................................................................... 14 Overview ........................................................................................................................... 14 Design Tab ........................................................................................................................ 15 Loaded Components Pane .....................................................................................15 Classes Tab ............................................................................................................16 Objects Tab ............................................................................................................ 16 Code Tab ...........................................................................................................................17 Output Tab .........................................................................................................................17 Setting Up Java Explorer .................................................................................19 Java Explorer Prerequisites .............................................................................................. 19 Creating a New Project ..................................................................................................... 19 Test Case Definition .......................................................................................................... 19 Setting Up a Test Using the Load File Wizard ...................................................................20 Test Case Characteristics ................................................................................................. 21 Setting Up Tests ............................................................................................... 23 Customizing Input Parameters .......................................................................................... 23 Storing Output Values in Variables ....................................................................................23 Manually Adding Global Variables .................................................................................... 24 Capturing an HTTP Response ..........................................................................................24 Defining Output Value Verifications ...................................................................................25 Verification with NULL or Variable .......................................................................... 26 Adding Method Calls ......................................................................................................... 26 Updating Method Calls ......................................................................................................26 Complex Input/Output Data ...............................................................................................26 Verification of Variables .......................................................................................... 27 Storing Array or Object Output Data as Variable ....................................................27 Taking Array Object Data From a Variable ............................................................. 27 Defining Each Member of a Variable Individually ................................................... 27 Defining Array Elements .........................................................................................27 Contents | 3 Using Complex Input Data ......................................................................................27 Random Value Types ........................................................................................................ 28 Configuring Random Variables ......................................................................................... 29 Enterprise JavaBeans and RMI over IIOP ........................................................................ 29 Working with Enterprise JavaBeans .......................................................................30 Vendor-Specific JNDI Settings ............................................................................... 31 Working with RMI Over IIOP .................................................................................. 34 Testing the RMI Sample ......................................................................................... 35 Java RMI ........................................................................................................................... 35 RMI Testing with JRMP .......................................................................................... 35 Testing Java Archives ........................................................................................................36 Test Class Wizard ............................................................................................................. 36 Secure Web Services ........................................................................................................36 Creating a Truststore for Your JDK ......................................................................... 37 Configuring Java Explorer to Use a Truststore .......................................................37 Loading a Secure WSDL ........................................................................................37 Working with Secure Web Service Calls ................................................................ 38 Specifying Web Service Connection Settings ........................................................ 38 Web Service Emitter Timeout for Axis 1.x ..............................................................38 Negative Testing ................................................................................................................39 Animated Runs ................................................................................................. 40 Executing an Animated Run ..............................................................................................40 Viewing Status of Animated Runs .....................................................................................41 Analyzing Results ............................................................................................ 42 Viewing Result Files ..........................................................................................................42 User Report .......................................................................................................................42 Error Report .....................................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages55 Page
-
File Size-