title: JMeter: Passing parameters to an HTTP GET request query string using CSV data
body: <p>I am fairly new to JMeter and am creating a load test. I have a GET request in an HTTP Sampler that looks like this:</p>
  
  <pre><code>/myCalendar?c={calendarName}&amp;l={location}&amp;i={calendarId}&amp;loc={locationId}&amp;s={calendarEvent}&amp;a={eventId}&amp;t={epochTime}
  </code></pre>
  
  <p>The names shown in braces are the names of my parameters. Each of these parameters has its own .csv file, and therefore its own CSV Data Set config element. Each of these parameters are also linked to their respective CSV files in the "Send Parameters With the Request" field in the HTTP Sampler.</p>
  
  <p>My tests are failing, but I can tell by clicking on the failed test indicator in my Results Tree that ALL of the parameters are returning the correct values from my .csv file. However, I have noticed that the test will pass in some cases if I hard-code only some of the values into the query string.</p>
  
  <p>For example, this fails...</p>
  
  <pre><code>/myCalendar?c=calendarName&amp;l=location&amp;i=calendarId&amp;loc=locationId&amp;s=calendarEvent&amp;a=eventId&amp;t=epochTime
  </code></pre>
  
  <p>...but this passes:</p>
  
  <pre><code>/myCalendar?c=calendarName&amp;l=BMJErIH4Mku4HwdHyuX2XA&amp;i=84Rza73ERUmRGb99NWZytw&amp;loc=locationId&amp;s=calendarEvent&amp;a=odH1gBRnH0moh5YN4tgczw&amp;t=157963549
  </code></pre>
  
  <p>If I modify the request that passes by replacing the hard-coded epochTime with the parameter that points to the .csv file, I get the following error: </p>
  
  <blockquote>
    <p>The server encountered an error processing the request. The exception
    message is 'Value cannot be null. Parameter name: edate</p>
  </blockquote>
  
  <p>If I revert epochTime back to its hard-coded value and substitute the other three hard-coded values with their associated parameters, I get the following error:</p>
  
  <blockquote>
    <p>The server encountered an error processing the request. The exception
    message is 'bad base64 conversion to GUID</p>
  </blockquote>
  
  <p>I realize that this can be a different issue entirely, but these values do work when hard-coded into the query string so I don't understand why they would not work if pulled from a .csv file.</p>
  
  <p>Finally, it is worth noting that I do have single-parameter test cases that work with the following syntax where 'Birthday' is a user-defined variable as shown below. I have found that using this syntax in a query string with multiple variables throws an exception at the first '{' character.</p>
  
  <pre><code>myCalendar/${Birthday} 
  </code></pre>
  
  <p>Any assistance would be greatly appreciated!</p>