Unanswered question

Not able to pass correlated values within a cookie?

We need to capture a set of values extracted from a response body (JSON) and put few of the values into a cookie parameter. We have extracted the values from the response and then in the subsequent request header cookie we have replaced the values. However during replay we observe that the correlated values are not passed along with the cookie request. Details below:

Following is the response received:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{"WCToken":"3279521%2C8E%2BA90FzqKfy8wzio1hfHaq4X6gg8QXI4E0S05VSM%2FH3%2FDcT%2F8denml9MaiOO29hmUt9Y%2BDuhSaMgOOQ2gH1qYCbLkBfSI8OCy4YO8Dxjar%2BFxE7VsLLj3gsYP%2Bn8%2FuUnB79NM8EJf2NccWxYe3gydaGzzw9024RvIQbPjFPh23WHGxKRl8lu3NGBr0Y%2BxICeeNIVRcinUEE%2F5zB5ixtkyribr6XZML%2FtSP6bcYE%2FFfe0onPqhCW2xdWFH1DID4v","userId":"3279521","WCTrustedToken":"3279521%2CK7pxmJmKgjksRcMi5Gqh7%2Bh5MSQl1Fr58%2FhE97W%2BRic%3D","personalizationID":"1515584201985-2","usersRoleNameList":["Registered Customer"]}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
So we co-related the WCToken,WCTrustedToken,userId and PersonalizationID from the variable extractor.
After this in a subsequent request, a cookie is being sent in the next request header in the form as shown below:
Cookie:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
visid_incap_1538543=NQcsR9vtSQq5jNG6gxykIqyAXFoAAAAAQUIPAAAAAACJCbAC50UsptUbCTERWkLG, nlbi_1538543=Zm1KV6R2m2Av5cHARk8cSwAAAABy+2bm62MmxH3pbRTASbov, incap_ses_703_1538543=Ylxibf7xXHO6wMDpFprBCa6AXFoAAAAAzLlsZunt+g+hbFY4nS8J0A==, isB2b=%2Fb2b, loginMailID=sumitbuyer%40***.com, loginPwd=*********, userRole=BUYER, WCToken=${c_WCTToken}, userId=${c_UserId}, userName=${c_UserId}, WCTrustedToken=${c_WCTrustedToken}, personalizationID=${c_PersonalizationID}, isB2bRegisteredUser=b2bRegisteredHomePage, isB2bGuestWithoutCatalog=, userObjectId=pageName%3DB2BRegisterUserPage
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here I have already replaced the correlated values.
When the same is being checked and replayed in the tool then the entire cookie is not being passed as mentioned above. The screenshot is attached.

Anirban R.
Anirban R.

Anirban R.

Level
0
12 / 100
points

No answers