title: How to use k6 in Node JS
body: <p>I need to send requests using k6 from node js script</p>
  
  <p>I have already tried this:</p>
  
  <pre><code>import http from "k6/http"; 
  </code></pre>
  
  <p>and this: </p>
  
  <pre><code>var http = require('k6/http')
  </code></pre>
  
  <p>but it didn't work out</p>
  
  <p><strong>UPD</strong></p>
  
  <p>I want to use k6 some like this: 
   node js script:</p>
  
  <pre><code>var http = require('k6/http');
  var fs = require('fs');
  
  http.get("http://test.loadimpact.com/");
  </code></pre>