Jump to content
WAPT Forum
Sign in to follow this  
Guest Darren Sproston

Basic 302 redirection errors help needed

Recommended Posts

Guest Darren Sproston

Hi, I'm new to WAPT and have created a three line script to start with but can never get the verify test to complete successfully. I keep getting a 302 redirection error and I have searched the forums for this and added the correct parameters and variables but with no success. I have included the scenario and also the log, please can someone help.

 

Many thanks

 

I am unable to upload the log, so the log is below:

 

 

<% 13:33:47 Header %>

Scenario: C:\Documents and Settings\sprostond\Desktop\DS1.wps

Profile: DS1.wpp

Profile name: DS1

 

<% 13:33:47 Session(1) %>

 

<% 13:33:47 Initial %>

 

<% 13:33:47 Page[page_1: http://172.30.30.199:8080/sso/](1) %>

 

<% 13:33:47 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:33:47 Request %>

GET /sso/ HTTP/1.0

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

 

 

 

<% 13:33:47 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750; Path=/sso

Content-Type: text/html;charset=UTF-8

Content-Length: 1456

Date: Mon, 11 May 2009 12:38:07 GMT

Connection: close

 

 

<% 13:33:47 Content %>

 

 

<html>

<head>

<title>DealSpace Web Site</title>

<script type="text/javascript">

<!--//

function updateTarget(form) {

form.target = form.mode.value;

return true;

}

 

<% 13:33:47 Page[page_2: http://172.30.30.199:8080/sso/](1) %>

 

<% 13:33:47 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:33:47 Request %>

POST /sso/ HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Content-Type: application/x-www-form-urlencoded

Content-Length: 60

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sso/

 

username=A00020&person=&timestamp=&theme=sippdeal&mode=_self

 

<% 13:33:47 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: text/html;charset=UTF-8

Content-Length: 1456

Date: Mon, 11 May 2009 12:38:07 GMT

Connection: close

 

 

<% 13:33:47 Content %>

 

 

<html>

<head>

<title>DealSpace Web Site</title>

<script type="text/javascript">

<!--//

function updateTarget(form) {

form.target = form.mode.value;

return true;

}

 

<% 13:33:47 Image %>

 

<% 13:33:47 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:33:47 Request %>

GET /sippdeal/content/images/logo.png HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sso/

 

 

 

<% 13:33:47 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=D557E43FB489C2841BF7221CA148F2EE; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/png

Content-Length: 6498

Date: Mon, 11 May 2009 12:38:07 GMT

Connection: close

 

 

<% 13:33:47 Image %>

 

<% 13:33:47 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:33:47 Request %>

GET /sippdeal/content/images/exclamation_mark.gif HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sso/

 

 

 

<% 13:33:47 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=400605C027A4B2A45F123065A0F98E9E; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/gif

Content-Length: 53

Date: Mon, 11 May 2009 12:38:07 GMT

Connection: close

 

 

<% 13:33:47 Image %>

 

<% 13:33:47 Connect %>

Connecting to secure remote host: partnercharting.digitallook.com:443...

 

<% 13:33:47 Request %>

GET /?username=jhc&password=ticky1122&chart_primary_ticker=UKX&co_dimension^width=352&co_dimension^height=243&co_border^set=-1&chart_time_period=1_day&primary_chart_colour=C1002B HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: partnercharting.digitallook.com

Referer: http://172.30.30.199:8080/sso/

 

 

 

<% 13:33:47 Response(200) %>

HTTP/1.1 200 OK

Server: Apache

Vary: User-Agent,Accept-Encoding

Content-Type: image/png

Content-Encoding: gzip

Content-Length: 9630

Date: Mon, 11 May 2009 12:32:47 GMT

X-Varnish: 716431868 716430914

Age: 58

Via: 1.1 varnish

Connection: close

 

 

<% 13:33:47 Image %>

 

<% 13:33:47 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:33:47 Request %>

GET /sippdeal/content/images/logo_partof.gif HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sso/

 

 

 

<% 13:33:47 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=7907B807CA07E4FDAEC686C6AC88B389; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/gif

Content-Length: 2717

Date: Mon, 11 May 2009 12:38:07 GMT

Connection: close

 

 

<% 13:34:00 Main %>

 

<% 13:34:00 Page[page_3: http://172.30.30.199:8080/sippdeal/app/](1) %>

 

<% 13:34:00 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:34:00 Request %>

GET /sippdeal/app/?wicket%3Ainterface=%3A1%3Acontainer%3Acomponents%3Apanels%3A9%3Apanel%3AnavSections%3AnavItems%3A1%3AnavItem%3AnavSection%3AnavItemsGroup%3AnavItems%3A2%3AnavItem%3AnavSection%3AnavLink%3A%3AILinkListener%3A%3A&sessionid= HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sso/

 

 

 

<% 13:34:00 Response(302) %>

HTTP/1.1 302 Moved Temporarily

Server: Apache-Coyote/1.1

Location: http://172.30.30.199:8080/sippdeal/app/login

Content-Length: 0

Date: Mon, 11 May 2009 12:38:21 GMT

Connection: close

 

 

<% 13:34:00 Content %>

 

<% 13:34:00 Redirect %>

 

<% 13:34:00 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:34:00 Request %>

GET /sippdeal/app/login HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sippdeal/app/?wi...&sessionid=

 

 

 

<% 13:34:00 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Pragma: no-cache

Cache-Control: no-cache, max-age=0, must-revalidate

Content-Type: text/html;charset=UTF-8

Content-Language: en-US

Content-Length: 1281

Date: Mon, 11 May 2009 12:38:21 GMT

Connection: close

 

 

<% 13:34:00 Content %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.sourceforge.net/" xml:lang="en" lang="en">

<head>

<title>Error</title>

<script type="text/javascript" src="resources/jhc.webapps.figaro.behaviours.AbstractMooToolsBehaviour/mootools.1.2.js"></script>

<link rel="stylesheet" type="text/css" href="../content/styles/context.css" media="screen,projection,tv" />

<link rel="stylesheet" type="text/css" href="../content/styles/page.css" media="screen,projection,tv" />

<link rel="stylesheet" type="text/css" href="../content/styles/base.css" media="screen,projection,tv" />

<link rel="stylesheet" type="text/css" href="../content/styles/page.print.css" media="print" />

<link rel="stylesheet" type="text/css" href="../content/styles/base.print.css" media="print" />

</head>

<body>

<div id="container" class="page-expired-error">

 

 

<span id="id2">

<div>Your dealing session has been timed out due to inactivity.</div>

</span>

 

<span id="id3">

<div>

Please click <a href="https://www.sippdeal.co.uk/secure/accountadministration.aspx">here</a> to return to sippdeal.co.uk

</div>

</span>

 

 

</div>

</body>

</html>

 

<% 13:34:00 Image %>

 

<% 13:34:00 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:34:00 Request %>

GET /sippdeal/content/images/logo.png HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sippdeal/app/login

 

 

 

<% 13:34:00 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=96BFCCDCACEA978A5AC62B6562B17CC9; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/png

Content-Length: 6498

Date: Mon, 11 May 2009 12:38:21 GMT

Connection: close

 

 

<% 13:34:00 Image %>

 

<% 13:34:00 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:34:00 Request %>

GET /sippdeal/content/images/icon_trade.gif HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sippdeal/app/login

 

 

 

<% 13:34:00 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=5A231C732D4A7B1DD2098CC087BC7738; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/gif

Content-Length: 244

Date: Mon, 11 May 2009 12:38:21 GMT

Connection: close

 

 

<% 13:34:00 Image %>

 

<% 13:34:00 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:34:00 Request %>

GET /sippdeal/content/images/icon_info.gif HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sippdeal/app/login

 

 

 

<% 13:34:00 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=C466A808CB342327ED04C8BE10205104; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/gif

Content-Length: 242

Date: Mon, 11 May 2009 12:38:21 GMT

Connection: close

 

 

<% 13:34:00 Image %>

 

<% 13:34:00 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:34:00 Request %>

GET /sippdeal/content/images/exclamation_mark.gif HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sippdeal/app/login

 

 

 

<% 13:34:00 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=715277BE128FB4D5800D04584E0B4107; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/gif

Content-Length: 53

Date: Mon, 11 May 2009 12:38:21 GMT

Connection: close

 

 

<% 13:34:00 Image %>

 

<% 13:34:00 Connect %>

Connecting to remote host: 172.30.30.199:8080...

 

<% 13:34:00 Request %>

GET /sippdeal/content/images/logo_partof.gif HTTP/1.0

Cookie: JSESSIONID=86E8FD13069B8375C422B654214D6750

Accept: text/html, */*

Accept-Language: en-us, *

Accept-Encoding: compress, gzip, *

Pragma: no-cache

Host: 172.30.30.199:8080

Referer: http://172.30.30.199:8080/sippdeal/app/login

 

 

 

<% 13:34:00 Response(200) %>

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=5FA9103CCA682B6BB3AED20332FDDAF2; Path=/sippdeal

Last-Modified: Sun, 10 May 2009 08:59:23 GMT

Content-Type: image/gif

Content-Length: 2717

Date: Mon, 11 May 2009 12:38:21 GMT

Connection: close

DS1.wps

Share this post


Link to post
Share on other sites
Guest angela

It seems that it is a bug with processing cookies. We do not support different cookies for different parts of a site.

 

In our next version of WAPT this will be fixed.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...