Forum Discussion
NewBear1
7 years agoNew Contributor
I have a test case where I run a REST request and get back the following in the header:
Header: Set-Cookie Value: jsessionid=20180111
In a subsequent Groovy Script step, I have the following code:
import com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport
def myCookieStore = HttpClientSupport.getHttpClient().getCookieStore()
def myCookies = myCookieStore.getCookies()
log.info myCookies.size()
return;
It returns a size of 0.
Why isn't the jsessionid cookie showing up in the Cookie store?
Related Content
- 2 months agoStoplight
- 4 years agoAsadGilani
- 6 years agoAndyTGardner
Recent Discussions
- 5 days agoruchisingh