This is a tool for collecting multiple Jmeter result files (csv formatted jtl file) and generate barplot graph as image files. This tool can be used to compare the results of performance evaluation.
devtools::install_github("ka-ka-xyz/BarplotterForJmeter")
First, download below sample data and save into work directory.
Then, execute below commands.
library(BarplotterForJmeter)
results <- jbp_read(c(v10="sample/resources/v10_result.jtl", v11="sample/resources/v11_result.jtl"))
jbp_plot(results, title = "Sample")
These commands generate result_1.png
.
The argument title
(not required) means title of the graph.
Graph file will be divided into multiple files when result contains over 10 labels.
You can set size of limitation using argument pagesize
.
And you can change prefix of graph file using argument pic_prefix
.
jbp_plot(results, pagesize = 5, pic_prefix = "separate_")
These commands generate separate_1.png
and separate_2.png
.
You can add errorbar (standard deviation) into graph with argument errorbar_type = "sd"
.
jbp_plot(results, errorbar_type = "sd", title = "Barplot With Errorbar", pic_prefix = "errorbar_sd")
You can add errorbar (95% confidence interval) into graph with argument errorbar_type = "ci"
.
jbp_plot(results, errorbar_type = "ci", title = "Barplot With Errorbar", pic_prefix = "errorbar_ci")
You can generate horizonal barplot graph with argument horizonal = T
.
jbp_plot(results, horizonal = T, title = "Horizonal Barplot", pic_prefix = "horizonal_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.