当前位置:文档之家› 性能测试模拟笔试题目(一)new

性能测试模拟笔试题目(一)new

软件性能测试模拟笔试题目(一)
注:本试卷中题目所涉及性能测试工具如无特殊说明则均为LoadRunner。

一、简答题(2*10=20分)
1.客户交付一个性能测试项目,请阐述你的实施流程。

2.解释5个常用的性能指标的名称与具体含义。

3.写出5个Loadrunner中常用函数,并对其中2个举例说明用法。

4.简述LoadRunner的工作原理?
5.什么是集合点?设置集合点有什么意义?LoadRunner中设置集合点的函数是哪个?
6.HTML-based script与URL-based script的脚本有什么区别?
7.如何设置LaodRunner才能让集合点只对一半的用户生效?
8.LoadRunner的Controller组件中Pacing参数的作用是什么?
9.LoadRunner中如何监控Windows资源?
10.如果让QALoad模拟LoadRunner中只对关注的性能点进行迭代测试,你有什么好方法?
二、选择题(2*5=10分)
1.During the run of a scenario, which LoadRunner component stores the
performance monitoring data?
A. Analysis
B. Controller
C. File server
D. Load generator/host
2.Where are the results stored during the run of a scenario?
A. Analysis
B. Controller
C. Utility server
D. Load generator
3. A script was recorded with an average think time for an advanced user. An
advanced user pauses 5 seconds between clicks. A first-time user pauses an average of 10 seconds between clicks. How can you modify the think time run-time settings to emulate a first-time user?
A. Set the think time to s recorded
B. Set the think time to multiply the recorded think time by 4
C. Set the think time to a random percentage between 150% - 250%
D. Set the think time to replay as recorded, but limit the think time to 10 seconds
4.Which HTTP error code indicates that an individual business process is failing
under load or the web application itself has crashed?
A.200
B. 403
C. 401
D. 500
5.What is an intersection point in a business process?
A. Scenario
B. Rendezvous
C. Transaction
D. Service level agreement
三、LoadRunner工具使用题:(10*2=20分)
1.web系统中,username参数表为file类型,表中有12个值,分别A、B、C、D、E、F、G、
H、I、J、K、L。

测试场景中虚拟并发用户数设为4,迭代次数设为3,参数中Select next row
与Update value on分别为(Sequential, Each Iteration)与(Unique, Once)时,写出迭代3次的取值情况。

(Select next row,Update value on)虚拟用户取值(VUi:迭代时取值)
(Sequential,Each Iteration)
VU1:
VU2:
VU3:
VU4:
(Unique,Once)
VU1:
VU2:
VU3:
VU4:
2.web系统脚本录制过程中,两次录制同一功能点,在View Tree的Server Response中产
生的字符串分别为:
Server Response:name="_id_Node " value=" RSDP0013425" />", ENDITEM,
Server Response:name="_id_Node " value=" RSDP1203655" />", ENDITEM,
为脚本回放成功,需要对字符串中某些字符做一定处理,写出详细实现方法。

四、【数据库应用】现有Customers表和Sales表的数据如下:(10分)
Customers表:
CustID Name City Discount
449320 Adapto PortLand 0.05
890003 AA PortLand 0.05
888402 Seaworth Albany 0.04
Sales表:
SaleID CustID SaleMount
234112 499320 8000
234113 888402 6500
234114 499320 5900
234115 890003 4500
要求:
1)给出查询语句,描述:在Customers表中查询名字为AA的查询语句;
2)给出删除操作,描述:在Sales表中删除SaleID为234115的语句。

3)根据以下结果表给出多表查询语句。

SaleID CustID Name Discount SaleMount
234112 499320 Adapto 0.05 8000
234113 888402 Seaworth 0.04 6500
234114 499320 Adapto 0.05 5900
234115 890003 AA 0.05 4500
五、英译汉(10分)
Silverlight is a free plug-in powered by the .NET framework that is compatible across multiple browsers, devices and operating systems to bring a new level of interactivity wherever the web works. With support for advanced data integration, multithreading, HD video using IIS Smooth Streaming, and built in content protection, Silverlight enable s online and offline applications for a broad range of business and consumer scenarios.。

相关主题