diff --git a/README.md b/README.md
index 5fb2ad6..9f43166 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,13 @@
-# Hargo [![Hargo Build Status](https://travis-ci.org/mrichman/hargo.svg?branch=master)](https://travis-ci.org/mrichman/hargo) [![GoDoc](https://godoc.org/github.com/mrichman/hargo?status.svg)](https://godoc.org/github.com/mrichman/hargo) [![Go Report Card](https://goreportcard.com/badge/github.com/mrichman/hargo)](https://goreportcard.com/report/github.com/mrichman/hargo) [![Join the chat at https://gitter.im/mrichman/hargo](https://badges.gitter.im/mrichman/hargo.svg)](https://gitter.im/mrichman/hargo) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mrichman/hargo/blob/master/LICENSE) [![Issues](http://img.shields.io/github/issues/mrichman/hargo.svg)]( https://github.com/mrichman/hargo/issues )
+
+# Hargo
+
+[![Hargo Build Status](https://travis-ci.org/mrichman/hargo.svg?branch=master)](https://travis-ci.org/mrichman/hargo) [![GoDoc](https://godoc.org/github.com/mrichman/hargo?status.svg)](https://godoc.org/github.com/mrichman/hargo) [![Go Report Card](https://goreportcard.com/badge/github.com/mrichman/hargo)](https://goreportcard.com/report/github.com/mrichman/hargo) [![Join the chat at https://gitter.im/mrichman/hargo](https://badges.gitter.im/mrichman/hargo.svg)](https://gitter.im/mrichman/hargo) [![GitHub license](https://img.shields.io/github/license/mrichman/hargo.svg)](https://github.com/mrichman/hargo/blob/master/LICENSE)
+ [![GitHub issues](https://img.shields.io/github/issues/mrichman/hargo.svg)](https://github.com/mrichman/hargo/issues) [![Twitter](https://img.shields.io/twitter/url/https/github.com/mrichman/hargo.svg?style=plastic)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fmrichman%2Fhargo)
Hargo parses [HAR](https://en.wikipedia.org/wiki/.har) files, can convert to curl format, and serve as a load test driver.
-```
+```text
NAME:
hargo - work with HTTP Archive (.har) files
@@ -11,7 +15,7 @@ USAGE:
hargo [arguments] <.har file>
VERSION:
- 0.1.1-dev.5 (e9e0b9c)
+ 0.1.1-dev.26 (519b183)
AUTHOR(S):
Mark A. Richman
@@ -31,12 +35,12 @@ GLOBAL OPTIONS:
--version, -v print the version
COPYRIGHT:
- (c) 2016 Mark A. Richman
+ (c) 2018 Mark A. Richman
```
## Running Hargo
-```
+```text
go get github.com/mrichman/hargo
cd $GOPATH/src/github.com/mrichman/hargo
go run cmd/hargo/hargo.go validate test/golang.org.har
@@ -46,7 +50,7 @@ go run cmd/hargo/hargo.go validate test/golang.org.har
Make sure that you have Go version 1.7 or greater (I haven't tested with lower) and that your `GOPATH` env variable is set (I recommand setting it to `~/go` if you don't have one). If `GOBIN` is not set, also try setting that to `~/go/bin`, as `make install` may fail. You can check all Go environment variables with `go env`.
-```
+```text
go get -d github.com/mrichman/hargo
cd $GOPATH/src/github.com/mrichman/hargo
make install
@@ -93,7 +97,7 @@ The `validate` command will report any errors in the format of a .har file.
`hargo validate foo.har`
-HAR file format is defined here: https://w3c.github.io/web-performance/specs/HAR/Overview.html
+HAR file format is defined here:
### Dump
@@ -105,7 +109,7 @@ Dump prints information about all HTTP requests in .har file
Hargo can act as a load test agent. Given a .har file, hargo can spawn a number of concurrent workers to repeat each HTTP request in order. By default, hargo will spawn 10 workers and run for a duration of 60 seconds.
-Hargo will also save its results to InfluxDB, if available. Each HTTP response is stored as a point of time-series data, which can be graphed by [Chronograf](https://www.influxdata.com/time-series-platform/chronograf/), [Grafana](http://grafana.org/), or similar visualization tool for analysis.
+Hargo will also save its results to [InfluxDB](https://www.influxdata.com/), if available. Each HTTP response is stored as a point of time-series data, which can be graphed by [Chronograf](https://www.influxdata.com/time-series-platform/chronograf/), [Grafana](http://grafana.org/), or similar visualization tool for analysis.
# Contributing
diff --git a/cmd/hargo/hargo.go b/cmd/hargo/hargo.go
index 72627fc..151fd4d 100644
--- a/cmd/hargo/hargo.go
+++ b/cmd/hargo/hargo.go
@@ -11,7 +11,7 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/mrichman/hargo"
- "github.com/urfave/cli"
+ "gopkg.in/urfave/cli.v1"
)
var (
@@ -42,7 +42,7 @@ func main() {
Email: "mark@markrichman.com",
},
}
- app.Copyright = "(c) 2016 Mark A. Richman"
+ app.Copyright = "(c) 2018 Mark A. Richman"
app.HelpName = "hargo"
app.Usage = usage
app.UsageText = "hargo [arguments] <.har file>"
diff --git a/glide.lock b/glide.lock
index 608c8fd..9a1d744 100644
--- a/glide.lock
+++ b/glide.lock
@@ -1,27 +1,44 @@
-hash: ede146e2e3830edd0b4c1af1704020b2e7bdebcf9e01a83e4f6614fdb689661a
-updated: 2016-10-13T10:46:16.92542263-04:00
+hash: 0a59be7ebd39b17be5d6c82c7e90e8db6526cceb4fe02b3d040208f3f6eb7503
+updated: 2018-08-03T16:01:42.251955-04:00
imports:
+- name: github.com/blang/semver
+ version: 2ee87856327ba09384cabd113bc6b5d174e9ec0f
- name: github.com/davecgh/go-spew
- version: 6cf5744a041a0022271cefed95ba843f6d87fd51
+ version: 346938d642f2ec3594ed81d874461961cd0faa76
subpackages:
- spew
- name: github.com/influxdata/influxdb
- version: ff307047057b7797418998a4ed709b0c0f346324
+ version: 7520f0f77e71a7870b41204821ac8cfa95d9704d
subpackages:
- client/v2
- models
- pkg/escape
+- name: github.com/mrichman/hargo
+ version: 0d27bbf485a68ea17a636f747dd2e6db58321be6
- name: github.com/Sirupsen/logrus
- version: 4b6ea7319e214d98c938f12692336f7ca9348d6b
-- name: github.com/urfave/cli
- version: a14d7d367bc02b1f57d88de97926727f2d936387
+ version: 3e01752db0189b9157070a0e1668a620f9a85da2
+- name: golang.org/x/crypto
+ version: 56440b844dfe139a8ac053f4ecac0b20b79058f4
+ subpackages:
+ - ssh/terminal
- name: golang.org/x/net
- version: 8b4af36cd21a1f85a7484b49feb7c79363106d8e
+ version: 92b859f39abd2d91a854c9f9c4621b2f5054a92d
subpackages:
+ - http/httpguts
- idna
- lex/httplex
- name: golang.org/x/sys
- version: 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9
+ version: d8e400bc7db4870d786864138af681469693d18c
subpackages:
- unix
+ - windows
+- name: golang.org/x/text
+ version: f21a4dfb5e38f5895301dc265a8def02365cc3d0
+ subpackages:
+ - secure/bidirule
+ - transform
+ - unicode/bidi
+ - unicode/norm
+- name: gopkg.in/urfave/cli.v1
+ version: cfb38830724cc34fedffe9a2a29fb54fa9169cd1
testImports: []
diff --git a/glide.yaml b/glide.yaml
index e90b245..1588e55 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -1,17 +1,21 @@
-package: github.com/mrichman/hargo
+package: .
import:
- package: github.com/Sirupsen/logrus
- version: ^0.10.0
+ version: ^1.0.6
+- package: github.com/blang/semver
+ version: ^3.5.1
- package: github.com/davecgh/go-spew
- version: ^1.0.0
+ version: ^1.1.0
subpackages:
- spew
- package: github.com/influxdata/influxdb
- version: ^1.0.2
+ version: ^1.6.0
subpackages:
- client/v2
-- package: github.com/urfave/cli
- version: ^1.18.1
+- package: github.com/mrichman/hargo
+ version: ^0.1.0
- package: golang.org/x/net
subpackages:
- - lex/httplex
+ - http/httpguts
+- package: gopkg.in/urfave/cli.v1
+ version: ^1.20.0