SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    New Member
    Join Date
    Apr 2015
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Question Script of Webservice is not sending timestamp in request in Load Runner 11

    Hi,

    I am trying to run a test of web service in vugen of load runner 11, by webservice protocol. While running with extended logs on, it seems load runner is sending only one parameter of the webservice, but not timestamp, "profileTimestamp", and hence getting http 500 error.

    When I created the script for this same webservice with http/html protocol, this same webservice call is successful.

    Please help me understand why LR is not sending "profileTimestamp" in the request.

    Script of web service protocol:

    Action()
    {

    web_service_call( "StepName=isProfileStillValid_101",
    "SOAPMethod=WebserviceV1|WebservicePortV1|isProfil eStillValid",
    "ResponseParam=response",
    "Service=WebserviceV1",
    "ExpectedResponse=SoapResult",
    "Snapshot=t1429014619.inf",
    BEGIN_ARGUMENTS,
    "loginId=CONYZ",
    "profileTimestamp=2015-04-09T11:35:29Z",
    "profileTimestampSpecified=",
    END_ARGUMENTS,
    BEGIN_RESULT,

    "return=Param_return",
    END_RESULT,
    LAST);
    return 0;
    }

    Output from Extended log:
    Action.c(4): </soap:Header><soap:Body><isProfileStillValid xmls="http://....">
    Action.c(4): <loginId xmlns="">CONYZ</login
    Action.c(4): Id></isProfileStillValid>
    </soap:Body></soap:Envelope>
    Action.c(4): t=21594ms: 178-byte response headers for "http://..<actual url not provided here>....." (RelFrameId=1, Internal ID=1)

    Action.c(4): HTTP/1.1 500 Internal Server Error\r\n


    Thanks in advance

  2. #2
    SQA Knight
    Join Date
    Jul 1999
    Location
    Grand Rapids, MI
    Posts
    3,727
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Couple of things looks suspicious:

    1. Space between l and e in: isProfil eStillValid
    2. No password required?

    But any syntax error will often result in the ubiquitous 500 error, at least in my experiences with web service calls, as the developers are either lazy in pointing out the syntax error, or (claim) to keep mum for security reasons.

  3. #3
    New Member
    Join Date
    Apr 2015
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Hello Tery,

    Space between l and e is error while editing in this forum. I rechecked, actual script doesn't have this space.

    No Password require in this. This is an internal call between two applications. And more for this same webservice 'isProfileStillValid' when script is created using html/http protocol, it is running successfully.

    But, not able to determine why "profileTimestamp=2015-04-09T11:35:29Z" is not showing as input parameter when I checked the extended replay logs in webservice protocol.

  4. #4
    Moderator
    Join Date
    Feb 2010
    Location
    Europe
    Posts
    944
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    is the code you've pasted the request or the response? - it looks like a response to me and NOT the request - which may explain why you can't see the timestamp

    do you need to dynamically set the timestamp? - how long before it becomes invalid?

 

 

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 11.54%
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 12:05 PM.

Copyright BetaSoft Inc.