SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2005
    Location
    Mumbai
    Posts
    71
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Getting error in web_submit_data()

    Dear All,

    I have the following web_submit_data() function in my script.

    web_submit_data("nbaIndexCase.do_3",
    "Action=http://{HostAddress}:{HostPort}/nba/nbaIndexCase.do",
    "Method=POST",
    "RecContentType=text/html",
    "Referer=http://{HostAddress}:{HostPort}/nba/nbaIndexCase.do",
    "Snapshot=t8.inf",
    "Mode=HTTP",
    ITEMDATA,
    "Name=Nba_Source_TP_BusinessArea", "Value=New Business Accelerator®New Business Accelerator", ENDITEM,
    "Name=Nba_Source_TP_Image", "Value=Application (NBAPPLCTN)®CWA Check (NBCWACHECK)", ENDITEM,
    "Name=Nba_Source_TP_Message", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_tabSelection", "Value=0®1", ENDITEM,
    "Name=Nba_Source_TP_sourceId", "Value={sourceid}", ENDITEM,
    "Name=Nba_Source_TP_company", companyid, ENDITEM,
    "Name=Nba_Source_TP_policyNumber", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_plan", planid, ENDITEM,
    "Name=Nba_Source_TP_irst", "Value=1®-1", ENDITEM,
    "Name=Nba_Source_TP_irsn", govtid, ENDITEM,
    "Name=Nba_Source_TP_firstName", firstname, ENDITEM,
    "Name=Nba_Source_TP_middleInitial", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_lastName", lastname, ENDITEM,
    "Name=Nba_Source_TP_applicationState", appstate, ENDITEM,
    "Name=Nba_Source_TP_companionType", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_formNumber", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_checkNumber", checknumber, ENDITEM,
    "Name=Nba_Source_TP_cwaDate", checkdate, ENDITEM,
    "Name=Nba_Source_TP_inforcePayDate", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_checkAmount", checkamount, ENDITEM,
    "Name=Nba_Source_TP_amountToApply", amounttoapply, ENDITEM,
    "Name=Nba_Source_TP_inforcePayType", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_inforceManInd", "Value=®0", ENDITEM,
    "Name=Nba_Source_TP_costBasis", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_exchangeReplace", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_reinVendor", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_changeState", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_reqVendor", "Value=®", ENDITEM,
    "Name=Nba_Source_TP_reqType", "Value=-1®-1", ENDITEM,
    "Name=Nba_Source_TP_sourceType", "Value=NBAPPLCTN®NBCWACHECK", ENDITEM,
    "Name=Nba_Source_TP_row_status", "Value=U®U", ENDITEM,
    "Name=coid_Company_DD", "Value={CompanyId}", ENDITEM,
    "Name=poln_PolicyNumber_EF", "Value=", ENDITEM,
    "Name=plan_Plan_DD", "Value={PlanId}", ENDITEM,
    "Name=lsnm_LastName_EF", "Value={LastName}", ENDITEM,
    "Name=fsnm_FirstName_EF", "Value={FirstName}", ENDITEM,
    "Name=minm_MiddleInitial_EF", "Value=", ENDITEM,
    "Name=irst_TaxIDType_RB", "Value={TaxIdType}", ENDITEM,
    "Name=irsn_SocialSecurityNumber_EF", "Value={GovtId}", ENDITEM,
    "Name=irsn_TaxIdentificationNumber_EF", "Value=", ENDITEM,
    "Name=irsn_SocialInsuranceNumber_EF", "Value=", ENDITEM,
    "Name=apst_ApplicationState_DD", "Value={AppState}", ENDITEM,
    "Name=frnb_FormNumber_EF", "Value=", ENDITEM,
    "Name=cknb_CheckNumber_EF1", "Value={CheckNumber}", ENDITEM,
    "Name=cwdt_Date_EF1", "Value={CheckDate}", ENDITEM,
    "Name=ckam_CheckAmount_EF1", "Value={CheckAmount}", ENDITEM,
    "Name=lsnm_LastName_EF1", "Value={LastName}", ENDITEM,
    "Name=poln_PolicyNumber_EF1", "Value=", ENDITEM,
    "Name=cwam_CwaAmount_EF1", "Value=", ENDITEM,
    "Name=cbas_CostBasis_EF1", "Value=", ENDITEM,
    "Name=ifpd_InforcePaymentDate_EF1", "Value=", ENDITEM,
    "Name=poln_PolicyNumber_EF2", "Value=", ENDITEM,
    "Name=lsnm_LastName_EF2", "Value=", ENDITEM,
    "Name=fsnm_FirstName_EF2", "Value=", ENDITEM,
    "Name=minm_MiddleInitial_EF2", "Value=", ENDITEM,
    "Name=irsn_SocialSecurityNumber_EF2", "Value=", ENDITEM,
    "Name=irsn_TaxIdentificationNumber_EF2", "Value=", ENDITEM,
    "Name=irsn_SocialInsuranceNumber_EF2", "Value=", ENDITEM,
    "Name=frnb_FormNumber_EF2", "Value=", ENDITEM,
    "Name=poln_PolicyNumber_EF3", "Value=", ENDITEM,
    "Name=lsnm_LastName_EF3", "Value=", ENDITEM,
    "Name=fsnm_FirstName_EF3", "Value=", ENDITEM,
    "Name=minm_MiddleInitial_EF3", "Value=", ENDITEM,
    "Name=irsn_SocialSecurityNumber_EF3", "Value=", ENDITEM,
    "Name=irsn_TaxIdentificationNumber_EF3", "Value=", ENDITEM,
    "Name=irsn_SocialInsuranceNumber_EF3", "Value=", ENDITEM,
    "Name=frnb_FormNumber_EF3", "Value=", ENDITEM,
    "Name=poln_PolicyNumber_EF4", "Value=", ENDITEM,
    "Name=lsnm_LastName_EF4", "Value=", ENDITEM,
    "Name=fsnm_FirstName_EF4", "Value=", ENDITEM,
    "Name=minm_MiddleInitial_EF4", "Value=", ENDITEM,
    "Name=irsn_SocialSecurityNumber_EF4", "Value=", ENDITEM,
    "Name=irsn_TaxIdentificationNumber_EF4", "Value=", ENDITEM,
    "Name=irsn_SocialInsuranceNumber_EF4", "Value=", ENDITEM,
    "Name=frnb_FormNumber_EF4", "Value=", ENDITEM,
    "Name=poln_PolicyNumber_EF5", "Value=", ENDITEM,
    "Name=lsnm_LastName_EF5", "Value=", ENDITEM,
    "Name=fsnm_FirstName_EF5", "Value=", ENDITEM,
    "Name=minm_MiddleInitial_EF5", "Value=", ENDITEM,
    "Name=irsn_SocialSecurityNumber_EF5", "Value=", ENDITEM,
    "Name=irsn_TaxIdentificationNumber_EF5", "Value=", ENDITEM,
    "Name=irsn_SocialInsuranceNumber_EF5", "Value=", ENDITEM,
    "Name=frnb_FormNumber_EF5", "Value=", ENDITEM,
    "Name=Nba_OK_PB", "Value=OK", ENDITEM,
    "Name=Nba_Cancel_PB", "Value=<U>C</U>ancel", ENDITEM,
    "Name=ACTION", "Value=OK", ENDITEM,
    "Name=companySelected", "Value={CompanyId}", ENDITEM,
    LAST);

    When I run the script it gives me following error:
    GetWork.c(233): Error -27225: The "" argument (number 25) is not recognized within "ITEMDATA" [MsgId: MERR-27225]
    GetWork.c(233): web_submit_data("nbaIndexCase.do_3") highest severity level was "ERROR", 0 body bytes, 0 header bytes [MsgId: MMSG-26388]

    I am not able to figure out the problem, please help.
    Regards,
    Bharat J.

  2. #2
    Junior Member
    Join Date
    Sep 2004
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting error in web_submit_data()

    It's a bit difficult to tell from your post because you don't show the code which generated this error. However, I'm immediately suspicious of the trademark symbol I see in the string. You might try html encoding it.

  3. #3
    Junior Member
    Join Date
    Feb 2006
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting error in web_submit_data()

    Hi,

    Check some of the parameter "Value=" is missing.
    for example
    "Name=Nba_Source_TP_company", companyid, ENDITEM, in this "Value=" is missing.

    try like this

    "Name=Nba_Source_TP_company", lr_eval_string("Value={acompanyid}"), ENDITEM,

    ... quote removed - since the original is just above...

    [ 02-21-2006, 02:54 AM: Message edited by: JakeBrake ]

  4. #4
    Junior Member
    Join Date
    Feb 2006
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Getting error in web_submit_data()

    It seems some of the ITEMDATA are missing with the "Value=" attribute. For example "Name=Nba_Source_TP_cwaDate", checkdate, ENDITEM, in this the "Value=" attribute is missing. Include that and try.

    Regards
    Guru

  5. #5
    Moderator
    Join Date
    Aug 2001
    Location
    NC
    Posts
    6,018
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Getting error in web_submit_data()

    Count your arguments. When you reach argument number 25 your error should become apparent.
    James Pulley

    Replace ineffective offshore contracts, LoadRunnerByTheHour. Starting @ $19.95/hr USD.

    Put us to the test, skilled expertise is less expensive than you might imagine.

    Twitter: @LoadRunnerBTH @PerfBytes

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:19 AM.

Copyright BetaSoft Inc.