SOAPResponseV2 - getCookies()

Get all cookies included in the response.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Object The list of cookies. Iterate through the list to perform operations on each cookie.

var cookies = response.getCookies();
var i;
for(i=0;i<cookies.size();i++) {
   gs.print(‘cookie: ‘ + cookies.get(i));
  • JSESSIONID=4135AA97A5D12DA22EF614AA2B0CAFD8.node20; Path=/; Secure; HttpOnly
  • SABASESSIONID=370152970.36895.0000; path=/