51Testing软件测试论坛

标题: 求助: Exception was raised when calling per-thread-init function [打印本页]

作者: wodepuwei    时间: 2013-11-4 21:42
标题: 求助: Exception was raised when calling per-thread-init function
脚本设置为:
Action(){
lr_start_transaction("2hops_merge");
web_set_max_html_param_len("1024000");
web_reg_save_param("value",
                                   "LB=\"value\"\:\[",
                                   "RB=]}",
                                   "NotFound=ERROR",
                                   LAST);
web_submit_data("2hops_merge",
       "Action=http://10.13.1.134/miniblog_2hops/2hops_merger.php",
       "Method=POST",
       "Mode=HTTP",
       ITEMDATA,
       "Name=cmd", "Value=100",  ENDITEM,
           "Name=optype", "Value=or", ENDITEM,
       "Name=num", "Value=100", ENDITEM,        
       "Name=keys", "Value={keys}", ENDITEM,
       LAST);
    if("value"=="")
        {
                lr_end_transaction("2hops_merge",LR_FAIL);
        }
        else{
                lr_end_transaction("2hops_merge", LR_PASS);
        }   
return (0);
}

运行时设置多个VUser,开始运行时出现以下错误:

Action.c(11): Error: C interpreter run time error: Action.c (11):  Error -- memory violation : Exception ACCESS_VIOLATION received.

Error: Vuser failed to initialize extension parameng.dll.

Error: Exception was raised when calling per-thread-init function in extension parameng.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION

在网上搜了一下,在C盘新建了TEMP,并设置了环境变量;并且把web_set_max_html_param_len的长度设置为:1024000;依然报错。

看到网上很多类似问题,但都没有解答。求助求助;多谢
作者: wodepuwei    时间: 2013-11-5 09:46
自己顶一下,求大侠解答




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2