SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    mismatch of bytes received

    Can anyone please help me with this problem I am facing using sockets? I use Windows Sockets protocol to record my client/server application in VuGen. I get folllowing in execution log :-

    Mismatch (expected 945 bytes, 0 bytes actually received)

    This occurs for few of the buffers. I read in some of the results thru google to use correlation. But how do I correlate a buffer? I don't even see correlation option in the output window? Anyone shed some light.

    Thanks

  2. #2
    Moderator
    Join Date
    Jan 2006
    Location
    Charlotte, NC
    Posts
    1,600
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: mismatch of bytes received

    (1) Any way to escape using sockets? (Sockets is the vu of last resort!)

    (2) You need to analyze the communication stream. The server may be passing back some form of session handle. You need to find that in the inbound and outbound streams. That is what they are meaning needs to be correlated. (For sockets you have to manually correlate.)

    (3) Record the first few steps of your application twice. Use windiff to compare the data.ws files. Values that need to be correlated will probably show right up. (Remember to turn on 'show differences in the line' [or whatever the exact text is])
    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!)

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

    Re: mismatch of bytes received

    I did that and see differences in buffer sizes. How do I correlate buffers??

  4. #4
    Moderator
    Join Date
    Jan 2006
    Location
    Charlotte, NC
    Posts
    1,600
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: mismatch of bytes received

    Dear fedcba,

    I want to ask you what the heavy hitters on this website always ask.

    Have you been trained in LR?
    Have you been traied in Sockets vusers?
    Do you have a good mentor?
    Are you a good C programmer? *

    * Sockets vusers more than any other require a good understanding of C programming to allow you to do the string manipulation that is going to be required for correlating buffers.

    Creating a sockets vuser is the most difficult type of vuser. You must really understand how LR works and how protocols work.

    Good Luck!

    ptr
    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!)

 

 

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:23 PM.

Copyright BetaSoft Inc.