This is Nishu here.
I was recording a Load Runner script using HTTP/HTML protcol and i am
getting majorly Web_custom_requests.
When i re-run the script the data which i used while recording is not
being changed on the Application when i check Manually. But the script
is passing for n number of iterations.
And also can anyone please let me know how to verify the exact data
which i used while recording, in my web_custom_request.
Below is the request:
Actually here i am selecting a new value from the dropdown (i.e.,
changing the value from Check(default value) to Deposit)
web_custom_request("xxxxx.dwr",
"URL=https://{MCIP}:{MCPORT}/pathname.dwr",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/javascript",
"Referer=https://{MCIP}:{MCPORT}/pathname.default.do?
itemAccountId=11488884&itemId=10013075",
"Snapshot=t39.inf",
"Mode=HTML",
"EncType=text/plain",
"Body=callCount=1\npage=/moneycenter/accountDetails.default.do?
itemAccountId=11488884&itemId=10013075\nhttpSessionId=xxxxx
\nscriptSessionId=xxxxxxxxx\nc0-scriptName=TxnService\nc0-
methodName=categorizeTransaction\nc0-id=0\nc0-e1=number:99\nc0-
e2=string:94AAC319-CF5E-4733-AA42-CA88C79C656D\nc0-e3=null:null\nc0-
e5=string:USD\nc0-e6=string:MM%2Fdd%2Fyyyy\nc0-e7=string:PST\nc0-
e8=string:.\nc0-e9=string:%2C\nc0-e10=string:%23%23%23%2C
%23%230.%23%23\n"
"c0-e4=Object_Object:{currencyCode:reference:c0-e5,
dateFormat:reference:c0-e6, timeZone:reference:c0-e7,
decimalSeparator:reference:c0-e8, groupingSeparator:reference:c0-e9,
groupPattern:reference:c0-e10}\nc0-e11=number:3\nc0-e12=boolean:false
\nc0-param0=Object_Object:{cobrandId:reference:c0-e1,
applicationId:reference:c0-e2, csit:reference:c0-e3,
iBean:reference:c0-e4, loggingLevel:reference:c0-e11,
loggingEnabled:reference:c0-e12}\nc0-param1=Number:30707074\nc0-
param2=string:bank\nc0-param3="
"string:27%7C3\nc0-param4=string:\nc0-param5=string:
\nbatchId=18\n",
LAST);
--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en
Is this unexpected behaviour, or expected?
If it isn't expected behaviour, what do you expect instead?
> And also can anyone please let me know how to verify the exact data
> which i used while recording, in my web_custom_request.
>
Read the request yourself. It's not hard to find your data.
Look for name value pairs - field=value.
I see a bunch of them just from glancing at your code, surely you can
find them too.
Interesting request by the way. "groupingSeparator=reference:c0-e9"
seems to be referring to "c0-e9=string:%2C\n" further up for instance.
So we're dealing with double indirection: The grouping separator is
%2C (which is the URL encoding for the comma ',' character) but you
can only figure that out if you follow the jumps properly.
Good luck with this one, it may be a bit of a puzzle to figure it out
but it's definitely possible.
Regards,
Floris
---
'What does it mean to say that one is 48% slower? That's like saying
that a squirrel is 48% juicier than an orange - maybe it's true, but
anybody who puts the two in a blender to compare them is kind of
sick.'
--- Linus Torvalds
--
No. Not unless you correlate things properly. Just recording something
and then pressing 'play' is pretty much guaranteed to fail 99% of the
time.
>
> Can you Kindly explain the above lines. It would be very helpful.
>
Not right now, sorry. Considering the fever I'm running I shouldn't
even be reading email at all ;-)
Good luck I guess.
--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en
To unsubscribe from this group, send email to LR-LoadRunner+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.