How to run a load test with ApacheBench
<p>Please, how can I use ApacheBench to do load testing assuming I want to test the HTTP capabilities of Node and Go?. Note: I have installed AB, I just don't know how to run the test.</p>

<p>Node:</p>

<pre><code>  var http = require("http");
  http.createServer(function(request,response) {
  response.writeHeader(200);
  response.write("You requested " + request.url);
  response.end();
}).listen(8080);
</code></pre>

<p>Go:</p>

<pre><code>package main

import (
    "fmt"
    "net/http"
)

func handler(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "You requested %s", r.URL.Path)
}

func main() {
    http.HandleFunc("/", handler)
    http.ListenAndServe(":8080", nil)
}
</code></pre>