Exploration methods for web applications and APIs
This topic explains the different methods available for exploring sites, before AppScan tests them.
A site is scanned by first exploring it, and then, based on the data
gathered, testing it. "Explore data" can be gathered using one or more different Explore
methods. In all cases, once the Explore data is gathered AppScan is used to create and send
tests to the site during the Test stage.
- Exploring web applications (sites with a user interface)
- For many applications it is sufficient to supply AppScan with the start URL and authentication credentials for it to be able to test the site.
- Manual Explore: If necessary you can manually explore the site through AppScan,in order to get access to areas that can only be reached through specific user input.
- Multi-Step Operations: For pages that can be reached only by first accessing other pages in a specific order, you can record a multi-step operation for AppScan to use.
- Exploring web APIs
- AppScan offers three primary methods for
exploring web APIs:
-
Importing a Postman Collection
If you have pre-recorded a Postman Collection of API requests as part of your DevOps process, you can import it to be used as the Explore stage of the scan. AppScan analyzes and uses the collection to test the site. See Scan using a Postman Collection
- Using an OpenAPI Description File
- If you have an OpenAPI description file (in JSON or YAML format) for your web service, you can use this as the basis for your scan. AppScan initiates an automatic scan based on the description. See, Scan using an OpenAPI description file.
- Alternatively, you can use the Web API Wizard extension to configure the scan and set up the multi-step sequences needed to use the service.
- Recording Proxy Setup
- Device Setup: Configure AppScan as a recording proxy for the device (such as a mobile phone or simulator) you use to explore the service. AppScan then analyzes the collected Explore data and sends appropriate tests.
- External Tool Recording: You can also use AppScan to record traffic using an external tool, such as a web API functional tester. See Using an external client.
-