Introduction to DataPool in Rational - Continued (3)

zhaozj2021-02-16  55

two. Performance test script automatically establishes DataPool

In Robot Tools-> Session Record Options, set the generator page General's Use DataPool option to generate DataPool.

General recording performance test scripts, follow these steps:

the first. Set recording session option

second. Start recording dialogue

third. Start the client program

fourth. Have a script

fifth. Close client program

sixth. Stop recording

Setting Options:

1. Recording method: API, NetWork, Proxy, Custom 4 option settings

By analyzing the software architecture to be tested to select the recording method, the table below provides a reference:

Situation

API

NetWork

Proxy

The Client Application Access Secure Data from A Web Server

Required

The Client Application Access Data from A Web Server

Recommended

Fist alternate

SECOND Alternate

The Client Application Accesses Objects ON A DCOM Server

Required

The Client Application Access An Oracle8 Database or ORACLE Arrays.

Required

The Client Application Access An Oracle Database (for Network and Proxy Recording, Supply the name of the oracle database,)

Recommended

First Alternate

SECOND Alternate

The Client Application IS Not Installed on The Local Computer

Recommended

Alternate

The Client Application IS Not Running On Windows NT4, Windows XP, or Windows 2000

Recommended

Alternate

You want to record traffic from Multiple Client Applications That Reside On Different Commputers

Recommended

Alternate

You want to record traffic BetWeen Multiple, Specific Clent and Server Computes.

Recommended

Neither The Client Nor The Seri Computer Is On Same Network Segment As The Local Computer

Required

An Ethernet Controls Network Traffic, And Neither The Client Nor The Server Application IS Installed on The Computer

Required

The Client Application Accesses A Tuxedo Server

Recommended

Alternate

"On-the-Wire" Recording Support is laconing

Recommendedalternate

API Recording Is Not Functioning Properly

Recommended

Alternate

FDDI, ATM, or Other Hight-Speed ​​Networks Are Used

Recommended

Note: Reference Rational Robot User's Guide,

The NetWork recording must be installed in Rational network driver to take effect.

installation method:

1. Start -> Settings -> Networks and Dial-up Connections

2. Point local connection

3. Point installation, select protocol, point addition

4. Click to install from disk

5. Open the installation directory c: / program files / russional / rate test / driverw2k (Install Rational Directory), selector INF file, determine

6. Select Ethernet or token Ring

2.Generator Filtering

FILTERING

(1). Setting Autofiltering to automatically select the available protocol when the Robot generates scripts, and the list of protocol gatherings available

Special explanation of DCOM is an exclusive agreement that cannot be coexist with other agreements.

If the background is SQL Server, select SQLServer, if the background is Oracle, select the Oracle protocol. Select different protocols according to software implementation.

(2). Set the manual protocol filtering to make the Robot generated script

3.Generator per protocol

Only part of the partial protocol (HTTP, IIOP, ORACLE, TUXEDO, and DCOM) selected in Generator Filtering.

转载请注明原文地址:https://www.9cbs.com/read-23769.html

New Post(0)