<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gorankusu, branch v0.4.0</title>
<subtitle>The Go library for load testing HTTP and WebSocket endpoints.</subtitle>
<id>http://git.kilabit.info/gorankusu/atom?h=v0.4.0</id>
<link rel='self' href='http://git.kilabit.info/gorankusu/atom?h=v0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/'/>
<updated>2023-05-16T07:48:20Z</updated>
<entry>
<title>Release trunks v0.4.0 (2023-05-16)</title>
<updated>2023-05-16T07:48:20Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T07:48:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=a5d8e64356f4879b8e96e5e4bb63a4c051fb34fa'/>
<id>urn:sha1:a5d8e64356f4879b8e96e5e4bb63a4c051fb34fa</id>
<content type='text'>
=== Bug fixes

* all: fix panic when attacking HTTP due to nil Attack handler

=== Enhancements

* _www: replace WebSocket handlers with HTTP endpoints
* all: add boolean Kind for FormInput, FormInputKindBoolean
* all: check and call ConvertParams when running HttpTarget

=== Chores

* all: move the _doc directory under _www
* all: convert the README from asciidoc to markdown
* all: remove WebSocket server
* go.mod: set Go version to 1.19 and update all dependencies
</content>
</entry>
<entry>
<title>all: move the _doc directory under _www</title>
<updated>2023-05-16T07:33:58Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T07:33:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=b0027e9487b6eb30c002c766f4f3effded48b488'/>
<id>urn:sha1:b0027e9487b6eb30c002c766f4f3effded48b488</id>
<content type='text'>
This is to minimize symlinks in the repository.
</content>
</entry>
<entry>
<title>all: convert the README from asciidoc to markdown</title>
<updated>2023-05-16T07:23:01Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T07:23:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=15553baba4712cce1310686951f31e73885aaba2'/>
<id>urn:sha1:15553baba4712cce1310686951f31e73885aaba2</id>
<content type='text'>
I use two remote repositories: GitHub and SourceHut.
GitHub support rendering README using asciidoc while SourceHut not.
This cause the repository that use README.adoc rendered as text in
SourceHut which make the repository page less readable.

Also, the pkg.go.dev now render README but only support Markdown.

Since we cannot control the SourceHut and go.dev, the only option is
to support converting Markdown in ciigo so I can write README using
Markdown and the rest of documentation using Asciidoc.
</content>
</entry>
<entry>
<title>all: remove WebSocket server</title>
<updated>2023-05-16T07:06:13Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T07:06:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=84b8a1de6d109f0ae26f9ee01c318b61584c3160'/>
<id>urn:sha1:84b8a1de6d109f0ae26f9ee01c318b61584c3160</id>
<content type='text'>
Using WebSocket for communication in client require additional
setup, especially if its behind proxy.
For example, if we server the trunks server under domain testing.local
behind proxy, we need to setup route for the WebSocket too.
</content>
</entry>
<entry>
<title>_www: replace WebSocket handlers with HTTP endpoints</title>
<updated>2023-05-16T06:45:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T06:45:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=b95e5d973e7e07951dbdb5a6d01a92b5af24a34f'/>
<id>urn:sha1:b95e5d973e7e07951dbdb5a6d01a92b5af24a34f</id>
<content type='text'>
The Attack and attack Cancel now call the HTTP endpoints.
</content>
</entry>
<entry>
<title>all: implement HTTP API to run and cancel attack on HTTP target</title>
<updated>2023-05-16T06:42:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T06:42:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=147fd4eb7a76d387a4c23bcac399971b8b099232'/>
<id>urn:sha1:147fd4eb7a76d387a4c23bcac399971b8b099232</id>
<content type='text'>
This endpoints similar that we have in the WebSocket.
The idea is to replace the WebSocket endpoints with this one.
</content>
</entry>
<entry>
<title>go.mod: update all dependencies</title>
<updated>2023-05-16T05:50:14Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T05:49:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=361358eec4853cb75600b11a99ad0894dd8e83b0'/>
<id>urn:sha1:361358eec4853cb75600b11a99ad0894dd8e83b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: fix panic when attacking HTTP due to nil Attack handler</title>
<updated>2023-05-16T05:48:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-16T05:48:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=0820f2234c014bb205e1e7cb405e0ad014b7ff12'/>
<id>urn:sha1:0820f2234c014bb205e1e7cb405e0ad014b7ff12</id>
<content type='text'>
In attack endpoint, check if the Attack is nil before we push the request
to attack queue.
</content>
</entry>
<entry>
<title>all: add boolean Kind for FormInput, FormInputKindBoolean</title>
<updated>2023-05-05T11:21:07Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-05T11:21:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=c484bc6ec480dd799c491b3dd0f673f822c3b484'/>
<id>urn:sha1:c484bc6ec480dd799c491b3dd0f673f822c3b484</id>
<content type='text'>
The FormInputKindBoolean only used for convertion, for example
ToJsonObject.
In the WUI, it still rendered as string, not as checkbox.

FormInput with this Kind will be converted to true in ToJsonObject if
the Value is either "true", "yes", or "1".
</content>
</entry>
<entry>
<title>all: set the request ConvertParams before calling runHttpTarget</title>
<updated>2023-05-05T11:17:37Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-05T11:17:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gorankusu/commit/?id=36a4816c921c2c52118ebe2ad9c9e39fe8e587a4'/>
<id>urn:sha1:36a4816c921c2c52118ebe2ad9c9e39fe8e587a4</id>
<content type='text'>
The req, RunRequest instance, is from request so the
HttpTarget.ConvertParams need to be set from the original HttpTarget.

This fix the conditional rr.HttpTarget.ConvertParams == nil always true
when calling runHttpTarget.
</content>
</entry>
</feed>
