`pick` doesn't work for `with_items_range`
Closed this issue · 2 comments
erkannt commented
Given this setup I see 1000 requests rather than the expected 10.
---
concurrency: 1
base: 'http://localhost:8080'
iterations: 10
plan:
- name: Post with a random value
request:
url: /api/record-evaluation
method: POST
body: >
{
"foo": "{{ item }}",
}
headers:
Content-Type: 'application/json'
with_items_range:
start: 1
step: 1
stop: 100
shuffle: true
pick: 1
Not very familiar with golang, but searching the code it looks to me like pick
hasn't been implemented for with_items_range
?
Happy to try my hand at a PR if that is the case.
fcsonline commented
I'm not very familiar with golang either. 😉 Whatever Rust pull request for a bugfix will be welcomed.
erkannt commented
I'm not very familiar with golang either. wink Whatever Rust pull request for a bugfix will be welcomed.
The coffee obviously hadn't taken effect yet :doh:. Will see what I can do.