Closed EliottPaillard closed 1 week ago
I believe the problem comes from...
<assign to="headers{Link}"></assign>
... which should work if set as...
<assign to="headers{Link}">""</assign>
The content of the assign
step is expected to be an XPath expression so it should not be completely empty. Also, I'd suggest you set the <steps>
element as <steps stopOnError="true">
so that the test session stops on errors rather than continue. Finally, if trying to pinpoint the location of a problem in a non-visible step you could use the log step to debug.
Does this help resolve the issue?
Yes the problem comes from this assign tag. But I wanted to test what my SUT responds when the Link header is "empty" exactly. I also tried with the "" configuration but I was thinking to provide nothing was the good way to do it. In fact it was not. Thanks for your help
Hello !
I want to test the behaviour of my SUT (a context broker) when the Link header is provided and empty.
All the steps are passed, however ITB points this empty Link header and fails the test.
Here is a the testSuite : example.zip