Fanfare Home | Community Home | Contact Us  

13803 -- Response mapping slowed with bad regular expressions

Space Search
Searching iTest 3.4 Release Notes
Table of Contents

Response mapping can appear to hang for ever with a 'bad' regex pattern.

It is possible to create 'bad' regex patterns in a response pattern map (or for a regex extractor in an analysis rule) that can cause iTest to appear to hang forever. A regex pattern is 'bad' if it is too large and has too many expressions that can take an exponential amount of time to parse on some large responses.

In iTest 3.4, the patterns generated by response mapping have been improved to limit the maximum expressions in a regex expression and this prevents iTest from appearing to hang when a large and complex response is auto-mapped, but if an older response map is used and the patterns used to cause iTest to 'hang', then you will need to clean up the patterns in these response maps.

Labels

response_map response_map Delete
backward_compatibility backward_compatibility Delete
3_4 3_4 Delete
fixed_in_3_4_1 fixed_in_3_4_1 Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.