Evaluate Explore results
Before proceeding to the Test stage, review the Explore results, because if important areas of the site were missed during the Explore stage, they will not be tested during the Test stage.
About this task
Note: If you make any configuration changes during this stage, you should
re-Explore the application before starting the Test stage.
Procedure
- Scan Log. Use this to check that AppScan wasn't out-of-session
too often.
- Click View > Scan Log,
- Scroll down the log entries to check that AppScan wasn't out-of-session too often.
If AppScan was out-of-session more than a couple of times in five minutes, it may help to re-record and reconfigure the recorded login, paying special attention to the in-session detection configuration.
- Application Tree. This is a graphical representation
of all the areas of the site that were discovered and explored. Use
it to see how well the site was covered.
- Does the application tree accurately show the hierarchical structure and main pages of your application?
- Are there Login URLs in the tree? (If there are not, the login was never sent.)
- Does the total number of visited URLs (bottom left-hand corner) match your understanding of the actual site size?
- Were a reasonable number of tests created, for sending during the Test stage (should be at least five times the number of URLs)?
- Requests sent. Review and validate the requests
sent during the Explore stage.
- In the Data pane, select Requests view, to display all requests sent.
- Verify that the login URLs appear in this list, particularly the in-session request and the login request containing the user credentials.
- Look over some of the requests that appear after the login request in the Login procedure. Verify that the response does not contain errors. To do this, type the word "error" into the Detail pane search field, and then select URLs one by one in the upper panel. If a particular response contains the word "error", the search field color will change from red ("not found"), to green ("found"), and the word "error" will be highlighted in the response body.
- If these requests contain error strings, this indicates that the user was out-of-session, and therefore that the Login procedure was not correctly recorded. Record it again.
- Application Data view. This is the default view
during the Test stage, and it offers various views by clicking the
filters along the top of the pane.
- Click F2, or the data icon on the right hand side of the toolbar to open this view.
- At the top of the Data pane, select a filter to view information.
- Click on an item in the data pane to view its details in the Detail pane.
- Custom error pages. 4xx responses are automatically
identified as error pages. If your site returns 2xx responses with
custom error pages, you must configure AppScan to recognize them.
This information is essential in deciding whether tests succeed. Not
configuring custom error pages will lead to inaccurate results, both
false positive and false negative. Therefore, if you found pages in
the previous step containing the word "error" in their response but
were not classified as error pages, configure them now.
- Filtered URLs. Review the list of requests that
were not sent, to verify that it does not contain requests
that should have been sent.
- Parameter-based navigation. If all or part of the site sends a single URL, while different parameters control content and structure, refer to Sites that use parameter-based navigation.
- Parameters. In the Data pane, review the parameters
discovered during the Explore stage.
- In the Data pane, select Parameters view, to see all parameters discovered during the Explore stage.
- If necessary, update the definitions (Configuration > Parameters and Cookies).
- Failed Requests. These are requests whose response
status was 4xx ("Error"). Review this list to check whether legitimate
requests unexpectedly got error responses.
- In the Data pane, select Failed Requests view.
- 404 Not Found: Click Show in Browser to verify that the URL doesn't exist.
- Timeout or Connection Failed: See if the scan needs a higher timeout (Configuration > Communication and Proxy > Timeout), the site's server or environment needs improving, or whether the connection problems are due to requests being sent simultaneously (Configuration > Communication and Proxy > Number of Threads, reduce the setting to "1"), or by too many requests being sent in a given time (Configuration > Communication and Proxy > RequestRate Limit).
- 401 or 407 Authentication Required: This means there are areas of the application that require HTTP authentication (set these in Configuration > Platform Authentication).
- Other 4xx statuses: Check whether the site returned an error because the user was not logged in. If necessary, record the login procedure again (Configuration > Login Management).
- If, after reviewing the initial Explore results, you feel that coverage is insufficient, refer to the next section for possible configuration changes. See Additional configuration.