tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pyeron <ja...@pyeron.com>
Subject RE: Simulating a browser session
Date Thu, 16 Jan 2003 20:23:30 GMT

cURL can be obtained from http://curl.haxx.se/

for windows, cygwin, linux, etc.

-jason

On Thu, 16 Jan 2003, Brandon Cruz wrote:

Jason,

Thanks for the info.  What exactly is this cURL program?  Is it something I
can run from a linux command line or a program I can download?  Anyway, I
really appreciate the info!

Brandon

-----Original Message-----
From: Jason Pyeron [mailto:jason@pyeron.com]
Sent: Thursday, January 16, 2003 12:30 PM
To: bcruz@norvax.com
Subject: Re: Simulating a browser session


Brandon,

9 times out of 10 it is my cookie, or ssl, or other non-complient logic in
my code, but otherwise, this may be you, ...

1 times out of 10 when I have trouble interacting with a
webapplication, it is caused by the useragent setting i pass.

My steps to diagnose my problems are:

1: Try to work with the web app in internet explorer 5.5
2: trace interactions with site using cURL acting as IE5.5
3: trace interactions with site using cURL acting as the suspect agent

my favorite usage is:
 curl -viLsA 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR
1.0.3705)' url

-F for form values
-b & -c for cookies
-k for ssl issues
-u for user auth
-o for output file ( i like the screen better )



On Thu, 16 Jan 2003, Brandon Cruz wrote:


Does anyone have familiarity with using JAVA to simulate a browser session
and navigate multiple pages in a https based web application, storing
session cookies, doing form posts, etc.?

We are trying to do an https post, but the application is acting as if the
parameters are never passed.

We have done the exact same thing before at another website with no
problems.

The only difference is that the one that does not work is using session
cookies, although we are able to successfully get and set the cookies.

In both situations, the web application we are trying to navigate is ASP
based.

We are trying to integrate one of our partners applications to ours and
could really use any information, web pages to reference, anything.  We're
out of ideas.

Thanks in advance and sorry for the off topic post, please reply to me
directly.

Brandon



--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.






--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message