Is the correlation value substitution of session id is correct?This is not Json payload also,it is just a form data..How to construct this request?

response = http.post(
http://localhost:1080/cgi-bin/login.pl’,
{
JSFormSubmit: ‘off’,
‘login.x’: ‘59’,
‘login.y’: ‘7’,
password: ‘bean’,
userSession: ‘C_SessionID’, // Correlated value from previous request
username: ‘jojo’,
},
{
headers: {

   origin: 'http://localhost:1080',
   'content-type': 'application/x-www-form-urlencoded',
   accept:        
  
 },

}
)
sleep(7.5)

@dan_nm Thanks for helping in solving this query.

Issue resolution:

We should declare the variable for correlation Parameter globally and we should not add the double/single quotes while substituting the value inside the Form data or Json payload…