americanexpress / baton Goto Github PK
View Code? Open in Web Editor NEWHTTP load testing witten in Go
License: Apache License 2.0
HTTP load testing witten in Go
License: Apache License 2.0
I tried to run baton with the following content of csv:
POST,http://localhost:3001/link,{\"link\":\"http://linux.org.ru\"},Content-type: application/json
POST,http://localhost:3001/link,{\"link\":\"http://github.com\"},Content-type: application/json
POST,http://localhost:3001/link,{\"link\":\"http://mail.ru\"},Content-type: application/json
I got the error: Error during run preparation: failed to parse requests from file: projects/go/test/urlshortener/load.csv.
I tried to escape double quotes with double-double quotes :) but got the same error
Does the output of this library support response time?
https://github.com/americanexpress/baton/blob/57633904134632b19ff9e964427ccc2358b84b50/result.go
fmt.Printf("Max response time (ms): %10d\n", result.maxTime).
fmt.Printf("Min response time (ms): %10d\n", result.minTime).
fmt.Printf("Avg response time (ms): %6.2f\n", result.averageTime)
Last release was 2018, any chance we could get new builds against the master?
Very useful tool!
It would be nice if it is possible to run from a file but with a non random select of the request.
I am using baton for testing insertion of big batches. I would like to see if some entries are missing in the database afterwards. But this is only possible if every entry in the list is only send once or at least in a linear way. But not with random selection of the request.
Hi! This looks like a pretty interesting project and I could see it being great for automated tests.
I just ran it locally using a CSV definition (which I really like) but it seems like this tool is lacking printing percentiles for requests. A nice feature of AB (ApacheBench) is the breakdown of request timings.
It would be nice if this tool did the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.