Forum Discussion
autoscout24
15 years agoContributor
Hi Henrik,
Seems like a good solution. But i have problems in implementing it.
1. What do you mean by creating the Junit report manually ?. Once it is integrated with Build process, I cannot do any manual work.
So far when my test fails, The build has information like below under staketrace
"<h3><b>GetMakeModelTree Failed</b></h3><pre>[SOAP Response] error: The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got h1
[SOAP Response] The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got h1
[ResponseStatus] XPathContains assertion failed for path [declare namespace web ="http://www.test.com/webapi/data/";
//web:status] : Exception:Missing content for xpath [declare namespace web ="http://www.test.com/webapi/data/";
//web:status] in Response
</pre><hr/>"
This above content is nothing but from the Junit report under the failure tag.
Which we feel the message is not sufficient, we need more content, like wht is the endpoint and wht is the request and response etc.
do you have any suggestion on this ?
Regards
Vijay
Seems like a good solution. But i have problems in implementing it.
1. What do you mean by creating the Junit report manually ?. Once it is integrated with Build process, I cannot do any manual work.
So far when my test fails, The build has information like below under staketrace
"<h3><b>GetMakeModelTree Failed</b></h3><pre>[SOAP Response] error: The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got h1
[SOAP Response] The document is not a Envelope@http://schemas.xmlsoap.org/soap/envelope/: document element mismatch got h1
[ResponseStatus] XPathContains assertion failed for path [declare namespace web ="http://www.test.com/webapi/data/";
//web:status] : Exception:Missing content for xpath [declare namespace web ="http://www.test.com/webapi/data/";
//web:status] in Response
</pre><hr/>"
This above content is nothing but from the Junit report under the failure tag.
Which we feel the message is not sufficient, we need more content, like wht is the endpoint and wht is the request and response etc.
do you have any suggestion on this ?
Regards
Vijay