Re: LoadRunner script fails on 302 error message? Is this a SSL issue???

541 views
Skip to first unread message

thilak nadh

unread,
Mar 15, 2013, 4:27:26 AM3/15/13
to LR-Loa...@googlegroups.com


Check the the application URL.and try to parametrise the URL..All the best

Regards,

Thilak

James Pulley

unread,
Mar 15, 2013, 9:36:45 AM3/15/13
to LR-Loa...@googlegroups.com

302 is not a failure, it is a redirect.   Odds are your new build has been installed in the same server as your old build and a set of redirects is pushing you over to your new build.

 

‘Pulley

 

From: LR-Loa...@googlegroups.com [mailto:LR-Loa...@googlegroups.com] On Behalf Of dga...@gmail.com
Sent: Thursday, March 14, 2013 11:06 PM
To: LR-Loa...@googlegroups.com
Subject: LoadRunner script fails on 302 error message? Is this a SSL issue???

 

Hi All,

 

I really hope someone here can help me. I’ve been to a number of forums and no one has been able too.

 

Problem:

 

A week ago I had my LR scripts all working. Now, after a new deploy they fail on a 302 redirect.

 

Basically the script sends one request for images and javascripts, which works fine. The second request submits form data to the server, however I now get 302 redirect. From here the rest of the script fails.

 

When I re-recorded the script, recording works fine. I compared the message sent when recorded, to the message sent by LR on play back and they look the same. Same headers, same message.

 

I tried recording using WinInet, but LR doesn’t record anything, literally no events are record and no script is generated.

 

I spoke to the developers and they tell me nothing has changed, which I don’t believe.

 

I suspect that authentication (SSL) has been turned on.

 

So, I went to a browser (Firefox) and saved a copy of the authentication certificate (*.cer) and used it for port mapping. However when I tried to re-record using port mapping I get an error message about the certificate, so the no connection is made.

 

I found out that the authentication certificate is for the production server, not our test server. Is this the problem???? Should we have a certificate for our test server???

 

Why does recording work without port mapping?

 

As another step I hooked up Fiddler to watch the messages going back and forth. I compared the messages from Recording vs playback and noticed a reference to a tunneling message when recording. I assume this is to do with SSL.

 

On playback I don’t see any tunnel message.

 

Is this a SSL issue???

What have I missed??

What should I try???

Can anyone help me?

 

Details:

 

Protocol: Web (Http/Html)

I’m using LR 11, with patch 4 installed

The script was recorded based on HTML, not URL

I’m using the new recording engine

Scripts are correlated 

 

 

 

 

--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages