Hi.
> 1) With HTTP Session active, login & logout requests excluded & irrespective of any page selected as seed, Ajax Spider somehow always tries to open login.jsp, but does not proceed ahead.
Might be that it's being redirected to login.jsp? Maybe the session set
as active was not authenticated?
> 2) With HTTP Session as off & Forced User Mode enabled, Ajax Spider commences from the desired seed page, but the target page does not load.
Could you check if there's any error logged? That shouldn't happen...
> 3) Resending those requests individually returns a success, but not so with Ajax Spider. Note that the POST actions in this product also pass a couple of parameters in GET URL. Do you think this is causing an issue?
When submitting the forms? It shouldn't cause any issue.
When using as seed? Well the pages will be, always, fetched using the
GET method without any query parameters. Maybe that's causing the problems?
> Could you please explain on what basis ZAP identifies a GET vs a POST request?
By looking at the request method of the message, but I think that's not
the answer that you are looking for.
> 4) Does ZAP has any settings for 302 direction.
A global setting? No. When resending a request ("Resend"/"Manual Request
Editor" dialogues) you can set to follow or not the redirections.
When spidering with the Ajax Spider the redirections are handled by the
browser.
When automatically authenticating (e.g. forced user mode) the
redirections are not followed.
Regarding the last message, it shouldn't cause any issue, the browser
should be handling/sending those parameters as well.
Best regards.
> *What steps will reproduce the problem?*
> 1. Proxy a https site, set current HTTPSession to Active.
> 2. Right click Site URL > Include in Context & Attack > Ajax
> Spider in Scope
> 3. Firefox Browser opens with empty URL & the process stops
>
> *What is the expected output? What do you see instead?*
> Firefox Browser should have opened the URL but the browser opens
> with empty URL & the process stops.
>
> *What version of the product are you using? On what operating
> system?*
> ZAP 2.3.1, Ajax Spider & Mozilla Firefox version 33.0
>
> *Please provide any additional information below.*