Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Tips to parameterize web_custom_request

    Hi Folks,

    1. What version of LoadRunner (LR) or PerformanceCenter (PC) are you using? (specify which tool LR or PC)
    (substitute your answer here) LR8.1 FP4

    2. What is the protocol you are recording?
    (substitute your answer here) web "http/html"

    2.1 If .NET, which version of .NET does the app require?

    2.2 If .NET, which version of .NET do you have installed?

    3. If HTML - are you using HTML-Advanced with URLs or,
    (indicate yes/no) no

    4. If URL mode:
    - Concurrent groups, or
    - Without Concurrent groups?
    (indicate which) n/a

    5. Which LoadRunner/PerformanceCenter feature (FPs) or service packs are you using?
    (List details here) FP4

    6. VuGen Recording - are you using Old or New Recording Engine?
    (indicate which) New

    7. What kind of LoadRunner license do you have -
    - Subscription,
    - Perpetual,
    - Permanent/Unlimited
    - Virtual User days, or
    - Evaluation?
    (choose the one that fits your license model - (substitute your answer here)) 1500 web/permanent

    8. If subscription, is subscription current or expired?
    (substitute your answer here) n/a

    9. What platform(s) (PCs) and Operating Systems (Windows-XP, etc.)? Include version and service packs (SP1 or 2, etc.)
    Windows Server 2003 Enterprise Edition (Version 5.2 Build 3790.srv03_sp2)

    10. If you have filed a service request with HP/Mercury, what have they told you at this point with respect to your issue?
    no SR filed yet

    Is it possible to parameterize and/or correlate the body section of web_custom_header? Here is a snippet of recorded script:

    \\x00Fcom.kronos.wfc.platform.utility.framework.Ab stractModifiableCollection\\x7F3\\xF3\\xEC;\\xFB;\ \x99\\x02\\x00\\x00xpsq\\x00~\\x00\\x0Cw\\x0C\\x00 \\x00\\x00\\x10?@\\x00\\x00\\x00\\x00\\x00\\x00xsq \\x00~\\x00\\x0Cw\\x0C\\x00\\x00\\x00\\x10?@\\x00\ \x00\\x00\\x00\\x00\\x00xsq\\x00~"
    "\\x00\\x0Cw\\x0C\\x00\\x00\\x00\\x10?@\\x00\\x00\ \x00\\x00\\x00\\x00xsq\\x00~\\x00\\x0Cw\\x0C\\x00\ \x00\\x00\\x10?@\\x00\\x00\\x00\\x00\\x00\\x00xxsq \\x00~\\x00\\x11?@\\x00\\x00\\x00\\x00\\x00\\x0Cw\ \x08\\x00\\x00\\x00\\x10\\x00\\x00\\x00\\x00xsr\\x 00\\x0Ejava.lang.Long;\\x8B\\xE4\\x90\\xCC\\x8F#\\ xDF\\x02\\x00\\x01J\\x00\\x05valuexr\\x00\\x10java .lang.Number\\x86\\xAC\\x95\\x1D\\x0B\\x94\\xE0\\x 8B\\x02\\x00\\x00xp\\x00\\x00\\x00\\x00\\x00\\x00\ \x002ppt\\x00\\x064:30AMsq\\x00~"
    "\\x00J\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00sq\ \x00~\\x00Psq\\x00~\\x00\\x0Cw\\x0C\\x00\\x00\\x00 \\x10?@\\x00\\x00\\x00

    I'd like to be able to parameterize the 4:30AM and be able to input random times there. Any tips on working with body? Is this possible?

    Also, does anyone have insight into converting hex? For example, what does \x06 translate into?

    Thank you all!!

  2. #2

    Re: Tips to parameterize web_custom_request

    are u sure that particular body section has values for parameterising.

  3. #3

    Re: Tips to parameterize web_custom_request

    thanks for the reply...actually, I'm checking to see if parameterization is even possible. For example, I'd like to be able to input different values for the start time, i.e. 4:30AM, but am not sure if because of encoding or any other reason, if the body can even be modified.

  4. #4

    Re: Tips to parameterize web_custom_request

    i think you should be ? try it

  5. #5

    Re: Tips to parameterize web_custom_request

    Hi Kiran,

    I tried to manually enter a new value for 4:30AM as well as parameterize it and pass a new value there, and in both cases, the value was not updated in the application.

    I also checked to see if any other correlation was preventing successful data submission, and I don't see any errors there.

  6. #6

    Re: Tips to parameterize web_custom_request

    Record it twice and diff.
    Unless you are writing a compiler, strtok is NOT the answer.
    See: http://www.sqaforums.com/showflat.ph...=541641#542222

    QAF is still an exercise in self-sufficiency! (Thank JB!)

  7. #7

    Re: Tips to parameterize web_custom_request

    i am not sure but i feel you cannot deserialise it without Java vuser,you need to use java for deserialising the binary objects which are passed from client to server.I think this cannot be parameterised.

  8. #8

    Re: Tips to parameterize web_custom_request

    Mercury has some tools to convert a script recorded in C to Java. I've used it at a client and it works really well, just some extra steps to take after recording.

    So I think it's best to either contact HP support or your sales rep.
    Life is too short for manual testing

    My LoadRunner Profile

  9. #9

    Re: Tips to parameterize web_custom_request

    Thank you all for your responses...

    Hi Kiran, It does appear there is a serialization/deserialization

    As for the tools to convert C to Java, are you referring to the reference in the Vugen manual that gives steps for converting a web script to java vuser? or is this a new "tool" available in LR9??

    Thank you again!!

  10. #10

    Re: Tips to parameterize web_custom_request

    i am not sure how perfect that tool is but you can give a try, but my suggestion would be find some other way out, talk to developers and see if anything can be done for that.Java serialisation and deserialisation are painfull process.See if you can avoid parameterisation for that.


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 03:40 PM.

Copyright BetaSoft Inc.