Patent ID: 7481361

Claim:
A computer implemented method for using bytecode instrumentation to dynamically override unsafe parameters for synthetic playback, the computer implemented method comprising: identifying that a transaction comprises an unsafe parameter by identifying each universal resource locator traversed and parameters passed in the transaction, adding the transaction identified using the bytecode instrumentation as having unsafe parameters to a configurable list of unsafe transactions, wherein the configurable list filters which transactions are safe for playback and which transactions are unsafe for playback, comparing the configurable list against a static list of known unsafe transaction types, marking the transaction as unsafe if the comparison results in a match, and marking the transaction as safe if the comparison does not result in a match; determining, based on the parameters passed, that the unsafe parameter in the transaction is associated with a test parameter in a previously overridden transaction by determining that the unsafe parameter comprises a same servlet entry value as a previously overridden transaction parameter; dynamically overriding the unsafe parameter with the test parameter to make the transaction safe for synthetic playback; and responsive to overriding the unsafe parameter with the test parameter, playing back the transaction; wherein the identifying, determining, and overriding steps are performed using bytecode instrumentation.