Archive for 06月, 2011
Published by
admin on
06月 20, 2011
一、 组件:
(一) VuGen:用于捕获最终用户业务流程和创建怎动化性能测试脚本。
1. 录制脚本:
(1) 集合点Rendezvous
(2) 验证点Check Point:文本验证点Text Check、图片验证点Image Check
(3) 事务Transaction:事务开始Start Transaction、事务结束End Transaction
(4) 注释与消息Comment & Message:/***/
2. 增强并编辑Vuser脚本
(1) 参数化:
在Select next now中的参数:Sequential顺序、Random随机、Unique唯一
在Update value on 参数:Each iteration每次迭代、Each occurrence每次出现、Once 一次
(2) 从数据库中导入数据
Read the rest of this entry »
Published by
admin on
06月 20, 2011
最近有个项目需要用LR做压力测试.在网上找到几个蛮不错的经典视频.讲解的蛮好.特推荐:
中科院LoadRunner性能测试视频教学
通过这个名称去baidu中搜索视频就可以出来了.
Published by
admin on
06月 17, 2011
if not exists(select name from syscolumns where id=object_id(’表名’) and name=’字段名’)
alter table 表名 add 字段名 Nchar(100)
Published by
admin on
06月 17, 2011
在SQL 2008中是不允许直接在设计表中修改已有表字段长度,但很多时确实需要修改已存在数据库表字段长度.在这样的情况下,我们只能通过sql 语句来修改字段长度.
alter table <表名> alter column <字段名> 新类型名(长度)
示例:假如有名T1,字段名F1,原来F1为varchar(3),现在要改为varchar(10),则可以这么写:
alter table T1 alter column F1 varchar(10)
Published by
admin on
06月 15, 2011
方式有很多如:
1、使用DECS、LEI
2、自动写接口:ODBC(LOTUSSCRIPT)、JDBC(JAVA)、ADO(LOTUSSCRIPT)等方式
用ADO连接SQL是比较好的,不用象ODBC一样建DSN,速度快,稳定。Sub Initialize
On Error Goto err_code
starttime=Now
Dim session As New Notessession
Dim db As Notesdatabase
Dim doc As notesdocument
Dim view As NotesView
Dim c As NotesViewEntryCollection
Read the rest of this entry »
Published by
admin on
06月 14, 2011
在ssh的hibernate中写上这个方法
public List findTop(){
log.debug(”finding all Bulletin instances”);
try {
String queryString = “select top 10 from Bulletin order by Bulletin_Time desc”;
return getHibernateTemplate().find(queryString);
} catch (RuntimeException re) {
log.error(”find all failed”, re);
throw re;
}
}
Read the rest of this entry »
Published by
admin on
06月 12, 2011
1、lotus notes 5.0 数据库应用程序开发的合理顺序是怎样的?答:开发 lotus notes 5.0 数据库应用程序的合理顺序是:
一、首先做好各个共享域、共享操作。
二、首先开发所有表单
三、其次开发所有视图
四、再次开发大纲
五、然后开发页面
六、然后开发框架集
Read the rest of this entry »
Published by
admin on
06月 5, 2011
PowerDesigner可以和数据库连接,根据在PowerDesigner创建的数据模型创建表、触发器、存储过程到数据库中。也可以将已有的数据库导出到PowerDesigner中为数据模型。今天做了一下测试,发现确实很简单,现在操作步骤与大家分享:
0、准备工作
先在SQL Server中创建一数据库,以供测试用。
Create database test
1、 根据在PowerDesigner创建的数据模型创建表、触发器、存储过程到数据库中
1)打开PowerDesigner ,建立一个物理数据模型
Read the rest of this entry »