loadrunner ajax,LoadRunner ajax字段

我在包含一个文本框的网页上记录一个脚本,这个文本框通常放在邮政编码中,另一个域根据我输入的邮政编码进行更新。 重播svript时,我收到错误。我认为我的问题与生成的脚本包含一个web_submit_data,作为邮政编码的一部分。LoadRunner ajax字段

以下是错误味精我在拿到第一web_submit_data后:

错误-26612:HTTP状态码= 500(内部服务器错误)的 “和一些URL”[的MsgId:MER-26612] ]

有人知道这个问题和可能的解决方案吗? 在此描述:

谢谢!

我的代码如下。它是使用web/http协议的记录器,当我输入一个自我填充的字段/自动填充字段时,它会记录,因此当我在邮编区输入7000时,LR为每个输入的nubmer输入一个web_submit_data。我不知道是否是面团的问题。

操作() {

web_url("nav_security_check",

"URL=http://someurl.local:8080/brukerprofil/nav_security_check?id=12345678910",

"Resource=0",

"RecContentType=text/html",

"Referer=",

"Snapshot=t1.inf",

"Mode=HTML",

EXTRARES,

"Url=img/nav_logo.gif", "Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0", ENDITEM,

LAST);

lr_think_time(4);

web_submit_data("brukerprofil",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.0-brukerprofil~skjema-valgtAdresseType",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t2.inf",

"Mode=HTML",

ITEMDATA,

"Name=valgtAdresseType", "Value=radio11", ENDITEM,

LAST);

lr_think_time(4);

web_submit_data("brukerprofil_2",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.1-brukerprofil~skjema-valgtAdresseType-alternativAdressePanel-norskAlternativPostnummer",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t3.inf",

"Mode=HTML",

ITEMDATA,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostnummer", "Value=7", ENDITEM,

LAST);

web_submit_data("brukerprofil_3",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.1-brukerprofil~skjema-valgtAdresseType-alternativAdressePanel-norskAlternativPostnummer",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t4.inf",

"Mode=HTML",

ITEMDATA,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostnummer", "Value=70", ENDITEM,

LAST);

web_submit_data("brukerprofil_4",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.1-brukerprofil~skjema-valgtAdresseType-alternativAdressePanel-norskAlternativPostnummer",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t5.inf",

"Mode=HTML",

ITEMDATA,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostnummer", "Value=700", ENDITEM,

LAST);

web_submit_data("brukerprofil_5",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.1-brukerprofil~skjema-valgtAdresseType-alternativAdressePanel-norskAlternativPostnummer",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t6.inf",

"Mode=HTML",

ITEMDATA,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostnummer", "Value=7000", ENDITEM,

LAST);

web_submit_data("brukerprofil_6",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.1-brukerprofil~skjema-valgtAdresseType-alternativAdressePanel-norskAlternativPostnummer",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t7.inf",

"Mode=HTML",

ITEMDATA,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostnummer", "Value=7000", ENDITEM,

LAST);

web_submit_data("brukerprofil_7",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.2-brukerprofil~skjema-valgtAdresseType-alternativAdressePanel-norskAlternativPostnummer",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t8.inf",

"Mode=HTML",

ITEMDATA,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostnummer", "Value=7000", ENDITEM,

LAST);

lr_think_time(6);

web_submit_data("brukerprofil_8",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IBehaviorListener.1-brukerprofil~skjema-kontonummer",

"Method=POST",

"RecContentType=text/xml",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t9.inf",

"Mode=HTML",

ITEMDATA,

"Name=kontonummer", "Value=62281154546", ENDITEM,

LAST);

web_submit_data("brukerprofil_9",

"Action=http://someurl.local:8080/brukerprofil/brukerprofil?0-1.IFormSubmitListener-brukerprofil~skjema",

"Method=POST",

"RecContentType=text/html",

"Referer=http://someurl.local:8080/brukerprofil/brukerprofil?0",

"Snapshot=t10.inf",

"Mode=HTML",

ITEMDATA,

"Name=brukerprofil-skjema_hf_0", "Value=", ENDITEM,

"Name=valgtAdresseType", "Value=radio11", ENDITEM,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostAdresse1", "Value=Nedgata 2", ENDITEM,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostAdresse2", "Value=Postboks 2", ENDITEM,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostAdresse3", "Value=Sentrum 123", ENDITEM,

"Name=valgtAdresseType:alternativAdressePanel:norskAlternativPostnummer", "Value=7000", ENDITEM,

"Name=kontonummer", "Value=62281154546", ENDITEM,

"Name=mobilpanel:landkode", "Value=47", ENDITEM,

"Name=mobilpanel:nummer", "Value=98765432", ENDITEM,

"Name=telefonnummerpanel:landkode", "Value=47", ENDITEM,

"Name=telefonnummerpanel:nummer", "Value=22225555", ENDITEM,

"Name=ekstra-telefonnummerpanel:landkode", "Value=46", ENDITEM,

"Name=ekstra-telefonnummerpanel:nummer", "Value=11223344", ENDITEM,

"Name=epost", "[email protected]", ENDITEM,

LAST);

return 0;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值