Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FWK005 parse error with Webservice sampler and 10+threads #1696

Closed
asfimport opened this issue Mar 3, 2006 · 3 comments
Closed

FWK005 parse error with Webservice sampler and 10+threads #1696

asfimport opened this issue Mar 3, 2006 · 3 comments

Comments

@asfimport
Copy link
Collaborator

Ivan Rancati (Bug 38840):
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.

Severity: normal
OS: Linux

@asfimport
Copy link
Collaborator Author

Ivan Rancati (migrated from Bugzilla):
Created attachment ws-pp.jmx: Test plan that shows the parsing issue

@asfimport
Copy link
Collaborator Author

Ivan Rancati (migrated from Bugzilla):
See for example the error at line 11677

Created attachment jmeter.zip: contains jmeter.log with debug settings

@asfimport
Copy link
Collaborator Author

Sebb (migrated from Bugzilla):
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant