Assertion failing although correct
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008
11:20 AM
01-10-2008
11:20 AM
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
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008
11:23 AM
01-10-2008
11:23 AM
Hi Markus,
thanks.. let me try to reproduce this and I'll get back to you..
Are you getting any error-messages in any of the logs or the console window?
regards!
/Ole
eviware.com
thanks.. let me try to reproduce this and I'll get back to you..
Are you getting any error-messages in any of the logs or the console window?
regards!
/Ole
eviware.com
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008
11:53 AM
01-10-2008
11:53 AM
Hi again,
Currently soapUI will only "allow" empty response messages for one-way operations... How is the login call defined in your WSDL?
regards,
/Ole
eviware.com
Currently soapUI will only "allow" empty response messages for one-way operations... How is the login call defined in your WSDL?
regards,
/Ole
eviware.com
