Hi all,

I started experiencing this strange problem this morning. We have a bunch of
tests for a webservice, that are executed via CruiseControl every night, or
more often if there's a need. Since the webservice is supposed to return
xml, those tests contain xml assertions, but without any schema or dtd, or
any such thing. I assume this means, that the response is only validated on
the account of being properly formatted xml. Up to this morning everything
was running smoothly, but suddenly over this weekend we started to have some
strange errors returned by the tests.

The xml asertion returns this message


Error on line 1: The processing instruction target matching "[xX][mM][lL]"
is not allowed.
This error has never happened to us before. The funny thing is that is
suddenly started to happen simultaneously on two different platforms, one of
which holds always the latest code, while the other is "frozen" at some
stage of development for integration testing. A this moment the code on that
platform is 2 weeks old. We get less errors like this from it, but they
still appear. The other important detail is that when I execute the tests in
gui mode, the assertion still fails on the latest code, but on the 2 weeks
old it doesn't. Thing is responses are correct in both cases - they are well
formatted xml, and they can even be rendered correctly by the jmeter's gui.

Has anyone ever seen anything similar, or has any idea as to why this might
be happening? Any ideas will be welcome. The automatic tests use jmeter
2.3RC3, while my local uses machine has 2.3.1.

Regards,
Chris

Reply via email to