7点测试 Rotating Header Image

LoadRunner中winsock协议Error: “10061 - Connection refused”的解决方法-Zee

问题出现:

运行场景测试时出现以下错误:Action.c(90): Error : socket0 - Connection refused. Error code : 10061.

解决方法:
Continue reading →

Zee的LR脚本练习二:循环打印web_reg_save_param保存的参数

Action()
{
char buffer[128] = {0};
int j;
int i;

Continue reading →

Zee的LR脚本练习一:写随机数到文本里

typedef long time_t;
Action()
{

int i,k;
time_t t;
char *filename=”c:\\test.txt”;
long file;
srand((unsigned) time(&t));
lr_output_message(”Ten random numbers from 0 to 99\n\n”);

if ((file = fopen(filename, “w+” )) == NULL) {

lr_output_message(”Unable to create %s”, filename);

return -1;
}

for (i=0; i<10; i++) {
lr_output_message(”%d\n”, rand()%100);
k= rand()%100;
fprintf(file,”%d \n “,k);
}

fclose(file);
return 0;

}

LR中判断HTTP返回状态-Zee

有天,有个人问:我在做b/s测试,请问如何保存从服务器传回来的http头的信息,怎么能得到http状态,和状态200进行比较?

后来,我给出的代码如下:

Continue reading →

如何在LoadRunner中做关联-Zee

问题出现:
n VuGen替代浏览器,脚本是hard-coded
n HTTP是一种无状态的连接
n 同一用户两次登录的差异
n 单用户和多用户的差异(验证机制:session)

Continue reading →

理解并选择测试-Zee

以下为个人观点,如有不赞同者,大可以拍砖指点。 Continue reading →

面试时应该注意什么?-Zee

小结一下。 Continue reading →

Bad Behavior has blocked 1603 access attempts in the last 7 days.