×

AUTOMATED TEST INPUT GENERATION FOR WEB APPLICATIONS

  • US 20090125976A1
  • Filed: 10/10/2008
  • Published: 05/14/2009
  • Est. Priority Date: 11/08/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for generating test inputs for testing a program, the method comprising:

  • performing a source-to-source transformation of the program;

    performing interpretation on the program based on a set of test input values;

    symbolically executing the program;

    recording a symbolic constraint for each of one or more conditional expressions encountered during execution of the program, includinganalyzing a string operation in the program to identify one or more possible execution paths, andgenerating symbolic inputs representing values of variables in each of the conditional expressions as a numeric expression and a string constraint including generating constraints on string values by modeling string operations using finite state transducers (FSTs) and supplying values from the program'"'"'s execution in place of intractable sub-expressions; and

    generating new inputs to drive the program during a subsequent iteration based on results of solving the recorded string constraints.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×