header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
September 06, 2008, 08:05:50 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Assertion failing although correct
Welcome, Guest. Please login or register.
September 06, 2008, 08:05:50 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Assertion failing although correct
« previous next »
Pages: [1] Print
Author Topic: Assertion failing although correct  (Read 226 times)
Markus Schaub
Newbie
*
Posts: 1


« on: January 10, 2008, 08:20:04 pm »

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
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,210


« Reply #1 on: January 10, 2008, 08:23:39 pm »

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
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,210


« Reply #2 on: January 10, 2008, 08:53:54 pm »

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
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header