Skip to content
Snippets Groups Projects
Commit bfdda61a authored by Denis Smirnov's avatar Denis Smirnov Committed by Denis Smirnov
Browse files

doc: improve xk6 building README

parent c4ab2a71
No related branches found
No related tags found
1 merge request!1414sbroad import
......@@ -9,16 +9,21 @@
```bash
cartridge replicasets setup --file replicasets.yml --bootstrap-vshard
```
2. Generate test data and define the number of records:
1. Generate test data and define the number of records:
```bash
./data_generator.lua 1000
```
3. Build [k6](https://k6.io/docs/getting-started/running-k6/) with the [dtm module](https://gitlab.com/picodata/arenadata/asbest/-/tree/master/xk6-plugin-dtm)
1. Clone `asbest` repository to an arbitrary local directory
```
xk6 build --with xk6-plugin-dtm=gitlab.com/picodata/arenadata/asbest/-/tree/master/xk6-plugin-dtm --with github.com/hackfeed/xk6-tarantool
git clone git@gitlab.com:picodata/arenadata/asbest.git
cd asbest
```
1. Build [k6](https://k6.io/docs/getting-started/running-k6/) with the [dtm module](https://gitlab.com/picodata/arenadata/asbest/-/tree/master/xk6-plugin-dtm)
```
xk6 build v0.32.0 --with xk6-plugin-dtm="$(pwd)/xk6-plugin-dtm" --with github.com/hackfeed/xk6-tarantool
```
4. Run the [k6](https://k6.io/docs/getting-started/running-k6/) script
1. Run the [k6](https://k6.io/docs/getting-started/running-k6/) script
```bash
k6 -u 10 -d 1m k6.js
./k6 run -u 10 -d 1m k6.js
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment