3.16. wrk

3.16.1. wrk_utils suite

3.16.1.1. Measure throughput

Measure throughput using wrk.

Arguments: - ${profile} - The name of the wrk traffic profile defining the traffic. Type: string

Example:

| Measure throughput | wrk-bw-1url-1core-50con |


${tg_numa}=  Get interfaces numa node  ${tg}  ${tg_if1}  ${tg_if2}
${output}=  Run wrk  ${tg}  ${profile}  ${tg_numa}  bw
Set test message  ${output}

3.16.1.2. Measure requests per second

Measure number of requests per second using wrk.

Arguments: - ${profile} - The name of the wrk traffic profile defining the traffic. Type: string

Example:

| Measure requests per second | wrk-bw-1url-1core-50con |


${tg_numa}=  Get interfaces numa node  ${tg}  ${tg_if1}  ${tg_if2}
${output}=  Run wrk  ${tg}  ${profile}  ${tg_numa}  rps
Set test message  ${output}

3.16.1.3. Measure connections per second

Measure number of connections per second using wrk.

Arguments: - ${profile} - The name of the wrk traffic profile defining the traffic. Type: string

Example:

| Measure connections per second | wrk-bw-1url-1core-50con |


${tg_numa}=  Get interfaces numa node  ${tg}  ${tg_if1}  ${tg_if2}
${output}=  Run wrk  ${tg}  ${profile}  ${tg_numa}  cps
Set test message  ${output}