Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4717

Create variable with string and rand

$
0
0

Hello,
i want to create variable with string and random value
the result i want:
a=1234565&b=767754&c=78876545&d=65567898&e=67727287

it is possible to concat rand in variable or

i have to define 5 variables as rand and concat
like this
http-request set-var(txn.vala) rand
http-request set-var(txn.valb) rand


http-request set-var(txn.myquery) str(),concat(a=,txn.vala),concat(&b=,txn.valb),concat(&c,txn.valc),concat…
of course without lua

thanks you for your help

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>