王娜cristal 发表于 2010-6-7 11:21:11

脚本问题

本人是初学者,而且在自学(公司目前只用黑盒测试,不用工具),我想提高自己,所以在闲暇时间学loadrunner。编译没有错误,回放的时候有错误,不知道如何修改。请教各位大虾:)
这是出错的脚本:
web_submit_data("WorkTicket_Add.aspx_2",
                "Action=http://192.168.8.119:806/(S(stt0avio5spxjl55o25dxm55))/AttemPer/Two_Ticket/WorkTicket_Add.aspx",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.8.119:806/(S(stt0avio5spxjl55o25dxm55))/AttemPer/Two_Ticket/WorkTicket_Add.aspx",
                "Snapshot=t16.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=__EVENTTARGET", "Value=ddl_applyunit", ENDITEM,
                "Name=__EVENTARGUMENT", "Value=", ENDITEM,
                "Name=__LASTFOCUS", "Value=", ENDITEM,
                "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState11}", ENDITEM,
          "Name=__EVENTVALIDATION", "Value=/wEWeQKsnOW/DgLqsOuZCQKVz4vnBgLmy5DpBgLr96DgBgKBsNKjDQLPyvzRBwL06eCHCQKdrOLRBQKruZG0BgKruZG0BgKt5P7GCQKLwrLGCQKPw7LGCQLZkY/sBQKqwfbsCAK+/Z/6AgKk8uj7DwKi4Y7EDgKog7W4AwLqpuO6CQKn0qPKDgLjxsDGDwKW2rDKDgLCtMqbBAKQ77uACQLeyZaIDgLK9d6HBwKO5c+oBQLdu7GXAgLBkeKSDwL1mfvlDAKGwcXxCwLI9MXxCwKgvIKiCAK4gcfMAgLumO+qBwL4jsfMAgLNj7+RBAKciOLTCQLt8LfDCAKkq++SBgKt5Lb4BQKt5LL9BQKB7va7BgL25PiCDALhrartAgLI9ZHiCAL3gNuPBALq7vrTCQLv2vnTCQKa6Kw/As6SkuIIArHp5/gCAuzE060CApCOqCEC8PeW6gEC/s/"
                "9pwECjeDQ9gICl6aOhA8C+6yAzQMChbmpSAKV+ultAuiqif0MAompp7ICArD0sp8NAs6SpqkHArGFtoEJAqjCjroDAtq9rMEKArPbw4kDAuH1vXoCgP62ngkCm97fwAMC6IifggQChMHTnw4Cs/+fjwMCy6P3xQ8CsoewrwcCxuzElA0C3oDbqQ0C3J+C0wUC3ei7twQCsqrl+AkC///yng0Ct+yFkQMCguTXuwkC/6Cnpg0C1L7wkwMC3cny4QgCioPEjwoCq5qNZgLm8tr7BQLBxJupDgKYhvuaCAL8kpykBALxk5+sBgLZo/yDBQK84/6cBwK7547TDQKwkJbaDgLO8eBPAuWW/v4FAsS//EoCwoT8vg0C4p+w1QcCgKTH6wECqunZog0Cz5Kdqg0Cz5KFrgMCmaTX6QcC87iduwYCgKSn6gUCsLHNzggCjKT/"
                "6QYCxLTF2QUC4sjqhQMCzrSsygYC39TaqwQC7a2KwQ0C08Co3QIMCI6cB7tqkyA95mSBX1e68MD7AA==", ENDITEM,

                "Name=ddl_ticketType", "Value=计划", ENDITEM,
                "Name=txt_dateApply", "Value=06-07 09:44", ENDITEM,
                "Name=ddl_applyunit", "Value=太原", ENDITEM,
                "Name=ddl_applyman$txt", "Value=", ENDITEM,
                "Name=ddl_keepattemper", "Value=", ENDITEM,
                "Name=txt_stoparea", "Value=", ENDITEM,
                "Name=txt_workcontent", "Value=", ENDITEM,
                "Name=txt_date_applywork1", "Value=06-07 09:44", ENDITEM,
                "Name=txtdate_applywork2", "Value=06-07 09:45", ENDITEM,
                "Name=ddlworkfactionary$txt", "Value=", ENDITEM,
                "Name=txt_sttemper", "Value=", ENDITEM,
                "Name=txtdate_start", "Value=", ENDITEM,
                "Name=txtdate_end", "Value=", ENDITEM,
                "Name=hf_username", "Value=", ENDITEM,
                "Name=hf_userid", "Value=", ENDITEM,
                LAST);

       

这是出错的描述
Action.c(184): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.8.119:806/(S(stt0avio5spxjl55o25dxm55))/AttemPer/Two_Ticket/WorkTicket_Add.aspx"       
Action.c(184): Error -26377: No match found for the requested parameter "Siebel_Analytic_ViewState13". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 4132 bytes, use web_set_max_html_param_len to increase the parameter size       
Action.c(184): web_submit_data("WorkTicket_Add.aspx_2") highest severity level was "ERROR", 2663 body bytes, 241 header bytes       

王娜cristal 发表于 2010-6-8 15:15:21

回复 1# 的帖子

请教~~:loveliness:

patrick_1984 发表于 2010-6-8 16:42:23

First error, Server error. need restart server
Second error, web_set_max_html_param_len (100000) --- try or correlation error

sy070904 发表于 2010-6-8 23:47:53

:Q

云层 发表于 2010-6-9 09:31:57

你把自动关联去掉就行了,asp.net的viewstate不用做关联的
页: [1]
查看完整版本: 脚本问题