afdb3dc _www: set the WebSocket address schema based on URL protocol
~shulhan pushed to ~shulhan/trunks git
7237e5c _www: set the WebSocket address schema based on URL protocol
~shulhan pushed to ~shulhan/trunks git
Module trunks is a library and HTTP service that provide web user interface to test HTTP service, similar to Postman, and for load testing.
For the load testing we use vegeta [1] as the backend.
See the example package on how to programmatically use and create service using this module, or,
* clone this repository,
* execute `make dev`, and
* open http://127.0.0.1:8217.
The following screenshot display the main interface to Run or Attack the registered HTTP service,
The following screenshot display the result of attack in two forms, vegeta metrics and vegeta histogram,
By default, the Trunks user interface can be viewed by opening in browser at http://127.0.0.1:8217. One can change address through Environment's ListenAddress.
Each attack result is saved in Environment's ResultsDir with the following file name format,
<Target.ID> "." <HttpTarget.ID> "." <DateTime> "." <Rate> "x" <Duration> "." <ResultsSuffix>
The "DateTime" is in the following layout,
YearMonthDate "_" HourMinuteSeconds
The "ResultsSuffix" is the one that defined in Environment.
The Trunks icon and image is provided by https://www.spriters-resource.com/.
Copyright 2021, Shulhan ms@kilabit.info. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.