I have a relatively simple JMeter WebService test plan, where I have the following as listeners: Aggregate Report Assertion Results View Results Tree The The plan runs against a XFire web service (although I have seen exactly the same issue with an Axis server) When I run it with 2 to 5 threads, all tests pass If I use 10 threads, occasionally a test would fail. Inspecting the sampled XML shows no problem, but if I check in the Assertion Results viewer I see this line Error in building: FWK005 parse may not be called while parsing.: FWK005 parse may not be called while parsing. I have run the test requests through a proxy, and the message is definitely not coming from the Web Service, it's from JMeter. From a quick Google search, it might be a problem with the fact that some XML parsing is not thread safe.
Created attachment 17826 [details] Test plan that shows the parsing issue
Created attachment 17827 [details] contains jmeter.log with debug settings See for example the error at line 11677
Sorry for the delay in looking at this. XMLAssertion currently uses only a single jdom SAXBuilder for all threads, but jdom is not thread-safe. The code in the 2.1 branch has been updated to use a thread-local builder.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1696