Can autobench do basic authentication?

347 Views Asked by At

How can I run the autobench tool using basic authentication?

I can run httperf with basic auth but I have not been able to run autobench using it.

Thank you.

2

There are 2 best solutions below

0
daxim On

Add httperf options into the autobench configuration file. Extra options are simply passed through; look up the call stack lines 149, 299, 236, 78.

I did not run the software to verify this.

0
Federico On

Add

httperf_add-header = 'Authorization: Basic XXXXXXXXXX=\n'

To your

.autobench.conf

To pass arguemnts to httperf prepend httperf_ to any option in your .autobench.conf