Open vichybaby opened 3 years ago
e.g. in payload.csv, data is like this:
CustomerID 001 002
in Scenario yml
config: payload: path: "payload.csv" fields: "CustomerID" order: sequence skipHeader: true
config: payload: path: "payload.csv" fields:
Issue: When using the CustomerID, 001 becomes 1 and 002 becomes 2, the leading 0 is missing.
@vichybaby, Artillery by defaults casts the fields into native types. Add cast: false in payload option to disable that behavior.
cast: false
Have no idea about the iteration number though.
e.g. in payload.csv, data is like this:
in Scenario yml
Issue: When using the CustomerID, 001 becomes 1 and 002 becomes 2, the leading 0 is missing.