Geeks Talk

Prepare for your Next Interview




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 FAQ Members List 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


Similar Threads

Thread Thread Starter Forum Replies Last Post
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
winsock protocol balajip82 LoadRunner 1 02-19-2008 08:38 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 02:42 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved