title: How to generate a cookie and send it in a request in Jmeter
body: <p>I am fairly new to Jmeter and hence having trouble figuring out the following: 
  I am testing a web service that needs a valid cookie to be sent in header. I have an endpoint url against which the userid and password validates. How do I validate the credentials against the url and extract the cookie for the user and send it in header for the request in Jmeter?</p>