Closed asfimport closed 21 years ago
Scott Eade (migrated from Bugzilla): Created attachment ResponseAssertion-patch.txt: Fixes to ResponseAssertion to make it thread safe.
Scott Eade (migrated from Bugzilla): I am running into problems with this patch applied locally (ClassCaseExceptions).
Please hold off applying this patch until this issue is resolved. I am chasing it up with the patch author (Jonathan) on jmeter-user.
Scott
Scott Eade (migrated from Bugzilla): s/ClassCaseException/ClassCastException/
Scott Eade (migrated from Bugzilla): Created attachment ResponseAssertion-patch.txt: Replacement patch to make ResponseAssertion thread-safe.
Scott Eade (migrated from Bugzilla): Replacement patch has been attached - please ignore the old patch dated 12/19/02.
The new patch works correctly in non-gui mode and resolves a number of ArrayIndexOutOfBoundsExceptions that I was experiencing.
Once again, this is Jonathan's code - I have just tested it locally and made it into a patch.
Jordi Salvat i Alabart (migrated from Bugzilla): Fixed following Jonathan's idea, but with a lot of changes, so blame me, not Jonathan or Scott, if this introduced new bugs.
The cache and compiler is shared for all threads, all assertions. This means each pattern only needs to be compiled once per test run. This reduces the memory cost of the solution to a minimum.
Marking this as RESOLVED.
Jordi Salvat i Alabart (migrated from Bugzilla): Bulk-editing to close all bugs reported fixed by 1.8.1.
Scott Eade (Bug 15549): Fixes to ResponseAssertion to make it thread safe - provided by Jonathan Carlson <jacarlso@katun.com>.
Severity: major OS: All