User-agent headers

This section describes the user-agent header sent for each user-agent, and how to work with "Auto-Detect".

The default user-agent setting is "Auto Detect", and in most cases this will be able to automatically detect the user-agent. The user-agent is detected when you record a login procedure, a multi-step operation, or a manual explore. If none of these is recorded, AppScan® will use the Internet Explorer user-agent.

If necessary, you can edit the content of any user-agent header by clicking the Edit button. The updated user-agent will then appear as "Custom User Agent".

You can select a header by clicking the User-Agent button, and edit the content by clicking the Edit button. Once you edit the content, the button name changes to "Custom User Agent". Custom User Agent content is only saved with the scan (and transferred to other computers along with the scan) if it is the selected user-agent when the scan is saved.

The table below shows the user-agent header sent for each user-agent.

User-Agent

Header

Auto Detect

This is the default setting.

If you record a login procedure, a multi-step operation, or a manual explore, AppScan® will automatically detect the user-agent. If none of these is recorded, AppScan® will use the Internet Explorer user-agent.

Important: Once AppScan® enters text in the Auto Detect header field, text on the button changes to "Auto Detect (Detected)", and AppScan® does not check it again. So if you change the browser used for scanning after the Auto Detect content has been filled and marked as "Detected", you must click the Edit button and delete the content of the field, so that AppScan® will automatically detect the new browser.

Auto Detect (Detected)

If the User-Agent is set to Auto Detect and a login procedure, a multi-step operation, or a manual explore has been recorded, the setting changes to "Auto Detect (Detected)", and the content is added.

Custom User Agent

If you edit the content of the selected user-agent, the setting is saved as a "Custom User Agent".

Important: Custom User Agent content is only saved with the scan (and transferred to other computers along with the scan) if it is the selected user-agent when the scan is saved.

Desktop browsers

Internet Explorer

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0)

Firefox

Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

Chrome

Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

Opera

Opera/9.80 (Windows NT 6.1; U; zh-tw) Presto/2.7.62 Version/11.01

Safari

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/534.16+ (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

Mobile browsers

iPhone (Safari)

Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5

iPad (Safari)

Mozilla/5.0 (iPad; U; CPU OS 4_2_1 like Mac OS X; ja-jp) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5

Google Android

Mozilla/5.0 (Linux; U; Android 2.2; he-il; GT-I9000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

Blackberry

BlackBerry9700/5.0.0.862 Profile/MIDP-2.1 Configuration/CLDC-1.1 VendorID/331

Opera Mini

Opera/9.80 (Series 60; Opera Mini/5.1.22784/22.394; U; en) Presto/2.5.25 Version/10.54

Opera Mobile

Opera/9.80 (Android; Linux; Opera Mobi/ADR-1012221546; U; pl) Presto/2.7.60 Version/10.5

Microsoft IE 7 for mobile

Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0) Asus;Galaxy6