title: configuring loader.io in rails
body: <p>I am trying to use the loader.io add on in heroku to stress test the servers and optimize the servers. I am having a really hard time verifying my URL. I have followed the loader.io documentation on how to verify the URL but I don't think I am doing it correctly. The documentation suggests the following steps.</p>
  
  <p>1) Place the verification token in a file or download it.
  I downloaded the .txt file. However the documentation says, <code>"The file should be uploaded at the root of your server"</code>. I placed the file in the root directory but I get the following error. <code>URL returned wrong response code (404).</code>  Therefore, I don't think I am placing it in the right place.</p>
  
  <p>2) Upload the file to your server so it is accessible at one of the following URLs:</p>
  
  <pre><code>http://example..com/loaderio-28016b04fdb0ed4ea066**********a.txt
  
  http://example..com/loaderio-28016b04fdb0ed4ea066**********a.html
  
  http://example..com/loaderio-28016b04fdb0ed4ea066**********a/
  </code></pre>
  
  <p>The only way I know to make these links available was through relevant controller and actions. I made a controller called <code>loaders_controller</code> and the <code>show</code> template with the <code>token</code> file in it. The named route points the loaders controller and show action. This is the only way I know I can make the following route available.  The route file is given below.</p>
  
  <pre><code>get 'http://example..com/loaderio-28016b04fdb0ed4ea066**********a.txt' =&gt; 'loaders#show'
  </code></pre>
  
  <p>When I tired to verify it, It said that the URL was found but the token was not present. I don't think this is the right way to do it. That route formation does not seem right to me. I think the problem is placing the file in the root servers. I am not sure what I am doing wrong. </p>