Mapping White Box issues to Black Box entry point using Runtime Analysis

IP.com Prior Art Database Disclosure
IP.com Disclosure Number: IPCOM000186943D
Publication Date: 31-Aug-2009
More Like This Download

Publishing Venue

The IP.com Prior Art Database

Abstract

This invention consists of using Runtime Analysis (analysis of instrumented code that is executed as an application is run) to map results from black-box tests on an application to executed code, and then in turn using this mapping to associate white-box test results from the same application to black-box entry points. This strategy creates the accuracy and reproducibility of black box testing with the ease of fixing associated with white box testing.

Language

English (United States)

Document File

3 pages / 29.7 KB

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 31% of the total text.

Page 1 of 3

Mapping White Box issues to Black Box entry point using Runtime Analysis

The testing technique disclosed in the following article allows application testing to bridge the gap between tests performed on the external portions of an application, or Black Box Testing, and tests performed on the source code of the application, or White Box Testing. This is done by the use of Runtime Analysis, the analysis of code being executed in a runtime environment. This novel concept allows for much easier fixing of problems, combined with accurate detection techniques.

At present there exist two dominant testing techniques, Black Box Testing and White Box Testing. Each method has its own strengths and weaknesses.

Black Box testing tools invoke an application from the outside. These tools are referred to as "Black-Box" testing tools since they look at the application as a black box with a set of defined and declared interfaces, with no knowledge of how it is structured internally. Black box testing tools perform their tests by invoking interfaces in different ways and with different inputs, and then use the information exposed through these interfaces to determine if the application has a

p

 roblem. For example, a web application testing tool would interact with the application through its defined HTTP interfaces, submit different HTTP requests to it and analyze the returned HTTP responses to determine if an issue exists (e.g. a security issue implied by a returned exception, a

p

 erformance issue implied by a delayed response, a functional issue implied by a response that does not match explicitly set criteria). The mentioned interfaces can be network protocols such as TCP or HTTP,

p

           rogrammable interfaces such as APIs and SDKs, input files processed by the application, and many others - but all defined interfaces and all not requiring insight into the code and internals of the application.

Because Black Box testing performs tests from an end user's perspective, the problems it finds are very likely to be real issues that need to be fixed because they can be reproduced by anyone with access to the application's interfaces. This makes them easier to prioritize and easier to see immediate return on investment from fixing them.

However, there are some problems with Black Box testing. For one, it cannot test all existing

p

 arts of the application due to being unable to access underlying code. Without knowing the underlying structure it is difficult to design test cases unique to that application, which may mean bugs slipping through the testing process. Another challenge is that the results it provides may be hard to fix because there is not enough information about what is going wrong inside the application. In large applications simply finding the code that is causing a problem to occur on the interface, and then finding the best place to fix the problem can be a trial.

On the other hand, White Box testing too...

First page image
You are not signed in. If you have an IP.com account, your download price may be lower or waived. Click here if you want to sign-in now.
Loading PayPal...
The full document comprises 3 pages and is available as a PDF document as well as a ZIP archive. The cost is $40.00 USD (depending on your billing address, sales tax may apply); payment may be made directly using your credit card or your PayPal account.

If you've already purchased this document, and wish to download it now you may enter the download access code you received in your original email receipt.