An open API service indexing awesome lists of open source software.

https://github.com/AvneeshSarwate/xk6-xlsx

An xk6 extension for reading Microsoft Excel files
https://github.com/AvneeshSarwate/xk6-xlsx

xk6

Last synced: 3 months ago
JSON representation

An xk6 extension for reading Microsoft Excel files

Awesome Lists containing this project

README

        

An example module for https://k6.io/ to read excel files. Constructed in the pattern of https://k6.io/blog/extending-k6-with-xk6 and using excel-parsing capabilities of https://github.com/360EntSecGroup-Skylar/excelize. NOT POLISHED FOR PRODUCTION USE but meant to be instructive to how to bind the `excelize` library.

Build agains the k6 binary using the command

```
{xk6_binary} build v0.29.0 --with github.com/AvneeshSarwate/xk6-xlsx='/absolute/path/to/local/xk6-xlsx/directory'
```

Notes
1. required me to add `export GO111MODULE=on` into my .bash_profile to compile module properly for module-level testing independent of k6.