17 years ago
Assertion failing although correct
Hello
I want to access a webservice behind a reverse proxy.
First call is a login call which does not return any data but sends a cookie in the headers if authorization is OK.
The answer itself is empty
I have added a script assertion that checks for the Set-Cookie in the HTTP header, this one is flagged green. The Assertions(1) at the bottom of the windows is flagged red. I have only one assertion in the list.
How can I manage the test step to pass green on an empty webservice response?
Using SoapUI-Pro 2.0
Regards
Markus
The response (RAW) is
HTTP/1.1 302 Found
Transfer-Encoding: chunked
Date: Thu, 10 Jan 2008 19:15:54 GMT
Location: https://XXXXXXXXXXXX/yyyyyyyyyyy
Set-Cookie: Navajo=sTQJOqEH/TMUIUoWqgWS2wX6twrGsjdVkgukIXpoFv/R1zCTtCcOILRCYBKvD0uw45xSoyu2H0-; path=/; secure; HttpOnly
Content-Type: text/xml
Connection: close
Server: Apache
Cache-Control: no-cache
Pragma: no-cache
I want to access a webservice behind a reverse proxy.
First call is a login call which does not return any data but sends a cookie in the headers if authorization is OK.
The answer itself is empty
I have added a script assertion that checks for the Set-Cookie in the HTTP header, this one is flagged green. The Assertions(1) at the bottom of the windows is flagged red. I have only one assertion in the list.
How can I manage the test step to pass green on an empty webservice response?
Using SoapUI-Pro 2.0
Regards
Markus
The response (RAW) is
HTTP/1.1 302 Found
Transfer-Encoding: chunked
Date: Thu, 10 Jan 2008 19:15:54 GMT
Location: https://XXXXXXXXXXXX/yyyyyyyyyyy
Set-Cookie: Navajo=sTQJOqEH/TMUIUoWqgWS2wX6twrGsjdVkgukIXpoFv/R1zCTtCcOILRCYBKvD0uw45xSoyu2H0-; path=/; secure; HttpOnly
Content-Type: text/xml
Connection: close
Server: Apache
Cache-Control: no-cache
Pragma: no-cache