51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2481|回复: 3
打印 上一主题 下一主题

[原创] LR的SP部分考试题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-9-27 12:04:17 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Part I. Performance Test Planning
       
1. Which of the following scenarios best describe a load test?(1 point)
        a. A test is run for 24-48 hours to evaluate the system stability over a long duration.
        b. A test that is executed using critical business processes and user roles to evaluate the system performance during a typical day
        c. A test to isolate a specific configuration or component on the system,such as the total available web server connections.
        d. A test to validate the user interface and business logic
2. Which of the following statements is not characteristic of performance testing?(1 point)
        a. Performance testing validates how each component performs when the system is under load.
        b. Performance testing leverages a large number of automated test scripts to validate and verify the business logic,complete business processes,and the user interface
        c. Performance testing leverages critical business processes or transactions that generate a high volume of data to identify any bottlenecks failure points on a system.
        d. Performance testing includes all the system components,which include dependent/associated software programs,hardware servers and network components.
3. Which of the items listed would be the best choice to give a QA team the information it needs to understand both the environment of th System Under Test, as well as the software/hardware components that the team should be monitoring?Choose the best answer.
        a. Test Plan
        b. System Architecture
        c. Test Requirements
        d. Performance Testing Goal


4. True or False:Executing a performance test and analyzing the results is an iterative process.(1 point)
5. Which of the following statements is a measurable performance test requirement?(1 point)
        a. One hundred and fifty users can log into the system in less than fifteen seconds.
        b. The purchase order business process generates a purchase order number.
        c. A buy transaction computes California tax by adding 8.25% of the total purchase
        d. The financial reporting program can generate fifty end-of-quarter reports.
6. According to Mercury’s BTO,select the correct business processes for a performance test is critical.Which of the following criteria should be used to select business processes for performance testing?There are two answers.(2 point)
        a. Processes that require substantial system resources
        b. Processes that perform administrative and executive functions such as reporting,general ledger and profit and loss statements
        c. Processes that are undergoing acceptance testing in newly developed modules of the application under test
        d. Processes that contain dependencies with middleware system,legacy systems,file sharing,and other applications
7. When comparing performance testing to integration testing,in which environment should you expect to have a larger set of automated test scripts?(1 point)
        a. Performance Testing
        b. Integration Testing
8. List the three criteria by which you will identify the business processes to use for a performance test.(3 points)

9. Why is system backup and restore important during performance testing?Select all that apply.(2 points)
        a. To remove any test-dependent data that can cause errors during the test execution
        b. To ensure that the system and database administrators know there is a performance test in progress.
        c. To prepare the system for the next iteration of load testing by resetting the database to its original state.
        d. To ensure that database resources are not fully utilized and causing a bottleneck during testing.

Part II. Core LoadRunner
        A. General LoadRunner and VuGen Questions
1. Name the two LoadRunner components you need to install on a Windows load generator machine.There are two answers.(2 points)

2. Load generator machines are known by three other names.What are these names?(3 points)

3. match the file to the LoadRunner component:( 4 points )

___ a .The VuGen Results file
___ b.The LoadRunner scenario file
___c.The Controller executable
___d.The LoadRunner results file that can be opened in the Analysis tool
        A. lrs
        B. wlrun
        C. magentproc
        D. qtp
        E. lrr
4. The _______ enables the Controller and the load generator machine to communicate with each order.(1 point)



5. Which of the following is not a valid single protocol for an E-Business Vuser?(1 point)
        a. Palm
        b. Ftp
        c. HTTP
        d. WAP


        B. About Scripting in the Virtual User Generator(VuGen)

6. All function prototypes are listed in the library _________ files.These files are located within the include directory of the LoadRunner installation.The contain detailed syntax information,return values,and other information that may not have been included in the Function Reference.(1 point)

7. A LoadRunner _____ measures the performance of the server by measuring the time it takes for the server to respond to specified Vuser requests.(1 point)

8. Create a script that retrieves the name of a host machine and its IP address if IP spoofing is enabled. Use your machine as the host machine.If the IP address is null or empty, write the message “IP Spoofing disabled” in the execution log.If the IP address is not empty, write the IP address in the execution log.Write the name of the host machine in the execution log.

Use parameters as you need them.You are free to name the parameters provided you include a brief description in the script. Save the script as IIB12.Write your script in the space provided on the answer sheet.(4 points)
       
9. What LoadRunner function can you use to capture today’s date into a parameter?(2 points)

10. In a script,the value for lr_think_time is parameterized.The parameter name is thinktimeParam.The value of thinktime Param is written into the execution log. Write the statements to meet the requirement in the answer sheet.If you used a script to accomplish this requirement,save your script as IIB14.(3 points)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2006-9-27 12:04:53 | 只看该作者
我姓李,接替从前的梁老师负责Mercury公司的技术认证考试和CPE自动化测试工具培训工作。如果这方面需求,加我的MSN或QQ.
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2006-12-20 14:33:40 | 只看该作者
没有答案吗?
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2008-11-5 07:57:11 | 只看该作者
李吉岩?
你不是客户经理么?
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-16 22:25 , Processed in 0.075487 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表