|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Load Request_info header?
by Parvinder Ghotra
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hello,
Is there command "Load Request_info Header"? I know there is a command "Load Response_info Header", but the cookies I'm try to parse out are in the "request headers" section of the headers. Below is an example of a HEADER, I need to grab _utma, _utmb from the cookie under the REQUEST HEADERS section: RESPONSE HEADERS Date Fri, 22 Feb 2008 19:40:04 GMT X-Powered-By Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5, JSF/1.2 P3P policyref="/w3c/p3p.xml", CP="NOI DSP COR CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Path=/ communityId=Business; Path=/ communityId=Business; Path=/ communityId=Business; Path=/ communityId=Business; Path=/ Keep-Alive timeout=5, max=100 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html;charset=UTF-8 REQUEST HEADERS User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive Cookie __utma=172432185.1240105491.1203699992.1203701405.1203709111.3; __utmz=172432185.1203699992.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=( none); JSESSIONID=D60A7E103C954D732BEB1C2BD09A76C4.kaptest12; __utmc=172432185; __utmb=172432185; Thank You. Parvinder Ghotra QA Automation Engineer Kaplan Test Prep and Admissions ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- OpenSTA-users mailing list OpenSTA-users@... Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList |
|
|
Re: Load Request_info header?
by Carsten Feilberg
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message I might have got it wrong, but I would expect that all that's in the script
belongs to the request-side of things. ;-) Unless you're running some local java or something application in your browser, that sets up cookies all by itself, cookies ought to be send to you at an earlier stage of the communication with the webserver. Look back in the script - cookies are identified by the URI, sometimes the top address, like www.something.xom, sometimes constrained to specific paths, like www.something.xom/admin/somewhereelse/ and your browser will always send along all the cookies that it knows, which can be identified with the URI it communicates with. I would take a wild guess that the cookies arrives earlier on, and you need to find out when. Recording does automatically (or is it an option ?) extract cookies into variables, so they are easy to find. Cheers, /Carsten :-) -----Original Message----- From: opensta-users-bounces@... [mailto:opensta-users-bounces@...] On Behalf Of Parvinder Ghotra Sent: 22. februar 2008 21:09 To: opensta-users@... Subject: [OpenSTA-users] Load Request_info header? Hello, Is there command "Load Request_info Header"? I know there is a command "Load Response_info Header", but the cookies I'm try to parse out are in the "request headers" section of the headers. Below is an example of a HEADER, I need to grab _utma, _utmb from the cookie under the REQUEST HEADERS section: RESPONSE HEADERS Date Fri, 22 Feb 2008 19:40:04 GMT X-Powered-By Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5, JSF/1.2 P3P policyref="/w3c/p3p.xml", CP="NOI DSP COR CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT" Path=/ communityId=Business; Path=/ communityId=Business; Path=/ communityId=Business; Path=/ communityId=Business; Path=/ Keep-Alive timeout=5, max=100 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html;charset=UTF-8 REQUEST HEADERS User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive Cookie __utma=172432185.1240105491.1203699992.1203701405.1203709111.3; __utmz=172432185.1203699992.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=( none); JSESSIONID=D60A7E103C954D732BEB1C2BD09A76C4.kaptest12; __utmc=172432185; __utmb=172432185; Thank You. Parvinder Ghotra QA Automation Engineer Kaplan Test Prep and Admissions ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- OpenSTA-users mailing list OpenSTA-users@... Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- OpenSTA-users mailing list OpenSTA-users@... Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList |
|
|
Re: Load Request_info header?
by Olaf Kock
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Parvinder Ghotra schrieb:
> Hello, > > Is there command "Load Request_info Header"? I know there is a command > "Load Response_info Header", but the cookies I'm try to parse out are in > the "request headers" section of the headers. Below is an example of a > HEADER, I need to grab _utma, _utmb from the cookie under the REQUEST > HEADERS section: Why would you load something FROM the Request headers, if it's only in there when you send it first... ? The request contains headers that are specified by the sender, e.g. the sending script. If you need access to some cookie values, they have most likely been previously recorded from a response header. If they are not recorded they probably have already been set prior to recording... Delete all cookies for your domain-under-test before starting to record. Cheers, Olaf ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- OpenSTA-users mailing list OpenSTA-users@... Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList |
| Free embeddable forum powered by Nabble | Forum Help |