Printer FriendlyEmail Article Link

Avalanche: Can the cookie jar on the client/profiles tab be configured to send more than 1 cookie per request?

Answer
  • The following example shows the correct cookie jar syntax with both a single cookie and multi cookie per request example:

    <?xml version="1.0" encoding="UTF-8"?>
      <CookieJarSet>
         <CookieJar>
           <Cookie>SingleCookie=1681692777; Path=/; Domain=192.168.1.1</Cookie>
         </CookieJar>
         <CookieJar>
           <Cookie>MultiCookie1=719885386; Path=/; Domain=192.168.1.1</Cookie>
           <Cookie>MultiCookie2=1649760492; Path=/; Domain=192.168.1.1</Cookie>
           <Cookie>MultiCookie3=596516649; Path=/; Domain=192.168.1.1</Cookie>
         </CookieJar>
    </CookieJarSet>
  • Note: The cookies are sent in reverse order, so user 1 takes the last cookie(s) for its requests and the last user takes the first cookie(s). If using a trial test (green arrow/blue checkmark) the user will always use the last cookie(s) in the jar.
     

Product : L4-7,App Testing,Avalanche,HTTP