SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jul 2006
    Location
    Melbourne
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    LR For Web Serivces - Problems with UInt32

    1.- 8.1
    2.- Web Services Protocol
    3.-
    4.-
    5.-
    6.- Feature Pack 4
    7.- Subscription
    8.- Current
    9.- Windows 2000 Pro SP4
    10.-

    Trying to load test a web serivce using the WSDL provided on the server. (IBM WAS).

    The following function keeps failing:

    web_service_call( "StepName=GetParty_102",
    "SOAPMethod=PartyService.PartyPort.GetParty",
    "ResponseParam=response",
    "Service=PartyService",
    "Snapshot=t1174961830.inf",
    BEGIN_ARGUMENTS,
    "xml:GetParty1=<GetParty1><control>&lt ;requestId>1</requestId><requesterName>"
    "James</requesterName><requesterLanguage>100</requesterLanguage><property>"
    "<Property><name></name><Value></Value></Property></property><requesterLocale>"
    "</requesterLocale><requesterRole><string ></string></requesterRole></control>"
    "<partyId>9711174373348222</partyId><partyType><code></code><Value></Value>"
    "</partyType><inquiryLevel>1</inquiryLevel></GetParty1>",
    END_ARGUMENTS,
    BEGIN_RESULT,
    END_RESULT,
    LAST);

    ...because the party id is 16 digits (which shouldn't matter as its a string inside an xml request). LR gives the following:

    Action.c(3): Error: InvokeMethod failure: Value was either too large or too small for a UInt32..
    Action.c(3): Notify: Saving Parameter "response = "
    Action.c(3): Error: Web service call "GetParty_102" execution failed

    Its trying to pass it as an unsigned 32 bit int. I've tried everything to parameterise the xml to get party_id to be passed as a string but nothing is working. All necessary parameters are correct and included in the XML.

    Please Help!

  2. #2
    Moderator JakeBrake's Avatar
    Join Date
    Dec 2000
    Location
    St. Louis - Year 2025
    Posts
    15,609
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: LR For Web Serivces - Problems with UInt32

    Hi Gooner,

    This should actually go in the LoadRunner forum.

    My apologies for earlier asking for questions 3 - 5 as the answers are obvious.

    Have you filed an SR with HP/Mercury? This certainly looks like a bug.

    Max val for u32 is 4,294,967,295. So in this respect it might be a loadrunner bug, however...

    Are you doing a web_reg_save_param or lr_xml_get_values?

 

 

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 12.50%
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 06:25 PM.

Copyright BetaSoft Inc.