17 years ago
Assertion problem ( contains , in CDATA )
Hi, I am creating a test-suite for a loadtest on a SOAP webservice.
I am allmost ready with the test, but the loadtest itself won't work correctly.
I am looking for the stringja inside a CDATA field in the response message ( contains ).
- When i manually execute the step i get a positive response
- When the loadtest executes the same step, it fails
When i change the assertion to <tg:IsSucces>ja</tg:IsSucces> the manual test will fail, but the loadtest will give a positive response.
It seems that the manual test interpretates the CDATA field as XML, where the loadtest doesn't.
Is there a way to make both tests work correctly ?
Thanks in advance!
I am allmost ready with the test, but the loadtest itself won't work correctly.
I am looking for the string
- When i manually execute the step i get a positive response
- When the loadtest executes the same step, it fails
When i change the assertion to <tg:IsSucces>ja</tg:IsSucces> the manual test will fail, but the loadtest will give a positive response.
It seems that the manual test interpretates the CDATA field as XML, where the loadtest doesn't.
Is there a way to make both tests work correctly ?
Thanks in advance!