Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Bytes Mismatch error in Winsock Scripting

This is a discussion on Bytes Mismatch error in Winsock Scripting within the LoadRunner forums, part of the Software Testing category; Hi Folks I am currently scripting a client server application using Winsock protocol using LoadRunner. I am able to record my application successfully, but when i replay is in Vugen ...

Go Back   Geeks Talk > Software Testing > LoadRunner
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 06-23-2008
Junior Member
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
minorkunju is on a distinguished road
Bytes Mismatch error in Winsock Scripting

Hi Folks

I am currently scripting a client server application using Winsock protocol using LoadRunner. I am able to record my application successfully, but when i replay is in Vugen (without any correlation / parameterization), I am getting a mismatch error in the bytes sent and received.

Starting action Action.
Action.c(21): lrs_create_socket(socket0, TCP, ...)
Action.c(29): lrs_set_receive_option
Action.c(31): lrs_send(socket0, buf0)
Action.c(33): lrs_receive(socket0, buf1)
Action.c(35): lrs_send(socket0, buf2)
Action.c(37): lrs_receive(socket0, buf3)
Action.c(39): lrs_send(socket0, buf4)
Action.c(41): lrs_receive(socket0, buf5)
Action.c(41): Mismatch (expected 131 bytes, 105 bytes actually received)
Action.c(47): lrs_send(socket0, buf6)
Action.c(49): lrs_receive(socket0, buf7)
Action.c(49): Mismatch (expected 604 bytes, 105 bytes actually received)
Action.c(51): lrs_send(socket0, buf8)

This 105 bytes is constant for all subsequent "receive" statements.

I tried using the lrs_set_receive_option(EndMarker, EndMarker_None); and lrs_set_receive_option(EndMarker, RecordingSize); but nothing is helping me out in retreiving the complete set of bytes.

It would be great if any of you folks can help me to understand why this mismatch and what is the way for me to get out of this. Thanking you all for the effort and time you folks would have spend on reading my request.

Regards
Satish N
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Software Testing > LoadRunner

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
winsock protocol balajip82 LoadRunner 2 04-29-2009 01:41 PM
What if max core set to 0 bytes mail2kvasanth Data Warehousing 1 06-24-2008 03:57 AM
help needed in winsock script in LR balajip82 LoadRunner 0 05-14-2008 08:56 AM
I am getting Type Mismatch error at run time Geek_Guest SilkTest 1 09-05-2007 05:10 AM
Amount Mismatch tracking for AR invoices: nishantculture Oracle Apps 0 04-23-2007 07:17 AM


All times are GMT -4. The time now is 10:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved