Need help on loadrunner scripting

86 views
Skip to first unread message

keni

unread,
Jan 11, 2011, 11:09:53 AM1/11/11
to LoadRunner
Hello,

I'm a Loadrunner beginner and I have to test a redirect engine.

To do so I use the web_url function in my script :

web_url("showdoc.jsp",
"URL=http://<some URL>",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);

The redirection works but the URL behind gives a tiemout and then I
would like to measure steps 1 and 2 and ignore the 3rd :

1 : Action.c(13): Redirecting "http://<some URL>" (redirection depth
is 0) [MsgId: MMSG-26694]
2 : Action.c(13): To location "https://<Redirected URL>" [MsgId:
MMSG-26693]
3 : Action.c(13): Continuing after Error -27796: Failed to connect to
server "....": [10060] Connection timed out [MsgId: MERR-27796]


Thnaks in advance for your help.

chaitanya bhatt

unread,
Jan 11, 2011, 12:21:39 PM1/11/11
to lr-loa...@googlegroups.com
When you have a certain domain redirected, the server sends a 300 series http code along with the new URL which intern induces your browser to retry with the new URL.

So, technically you're supposed to have two URLs in your script. But I only see ONE URL request in your post. I am guessing you have custom created this URL request. If so, I suggest you to add the redirected URL as well and separately enclose them with transaction markers to measure the response time.

-Chaitanya M Bhatt
http://www.performancecompetence.com


--
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

James Pulley

unread,
Jan 11, 2011, 12:28:20 PM1/11/11
to lr-loa...@googlegroups.com
As you are a beginner, one needs to ask about your level of knowledge
with the tool and performance testing in general. Have you been to
training on the product using HP material with an HP certified
instructor (anything else is a craps shoot)? Have you been assigned a
mentor to work with you on performance testing process and continue to
mentor your use with LoadRunner over your next two-three engagements?

If not, perhaps it is time to ask wonder why your management is not
placing you on a path to success in your profession.

James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix

NARASIMHA RAJU

unread,
Jan 12, 2011, 12:13:37 AM1/12/11
to lr-loa...@googlegroups.com
Hi,

Refer url is missing in your function, when you are application is redirecting/navigating from one page to another page then refer has to be maintained 

Regards
KV
 

On Tue, Jan 11, 2011 at 9:39 PM, keni <quentin...@gmail.com> wrote:
--
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



--
Thanks & Regards
NARASIMHA RAJU K.V
Reply all
Reply to author
Forward
0 new messages