Forum Discussion

AMendoza's avatar
AMendoza
New Contributor
14 years ago

ERROR MESSAGE: Session ID cookie value cannot be null

Hi

We are trying to use SoapUI to perform a database search. We are doing a test in three steps:

1) Authentication (IP based - returns a unique session ID)
2) Property transfer: we pass on this unique session ID to a global value
3) Search and retrieve data: keyword based search using this Session ID.

We are consistently getting an error at step 3: Session ID cannot be null or empty value - It is required that the high-level Web service client program participate in the session initialized by the server. Our guess is that this error is caused by Session ID not being passed on to the search. Essentially, we have two different WSDL files: one for authentication and one for search/retrieve and the Session ID should be transferred from authenticate WSDL file to search/retrieve WSDL file. That does not seem to be happening. Any help would be greatly appreciated.
  • Hello,

    what happens if you enable 'Maintain HTTP Session' option on test case ?

    Regards,
    Vladimir
    SmartBear Software
  • AMendoza's avatar
    AMendoza
    New Contributor
    We already have 'Maintain HTTP Session' enabled. We do get valid session ID and we're able to pass it to a global variable, but somehow we're not able to execute the search even though valid Session ID is being passed. Do you know if there is something about running on a controlled network (behind a proxy, for example) that could cause this to happen? Perhaps some ports that need to be set?

    Thanks!
  • AMendoza's avatar
    AMendoza
    New Contributor
    We figured it out. We needed to set the Cookie Header in our search request equal to Session ID from authentication session