Orange-OpenSource / hurl

Hurl, run and test HTTP requests with plain text.
https://hurl.dev
Apache License 2.0
13.01k stars 486 forks source link

Generate random UUID #973

Open cemoktra opened 1 year ago

cemoktra commented 1 year ago

An function to generate a random UUID to use in headers/bodies would be nice

fabricereix commented 1 year ago

Hello @cemoktra yes this is in our todo list (https://github.com/Orange-OpenSource/hurl/issues/606)

We just have introduced filters (https://hurl.dev/docs/capturing-response.html#filters) in the last release 1.8.0 that transform a given input. We could also have "generators" that produce data such as now, random, ...

ppaulweber commented 1 year ago

@fabricereix is there any update or implementation state on this feature request?

alexandrefrei commented 2 months ago

@fabricereix is there any update or implementation state on this feature request?

fabricereix commented 2 months ago

Hi @alexandrefrei time flies, we haven't indeed implemented any generators yet. We will try to look at it in the next few weeks.

phoenix147 commented 1 month ago

@fabricereix any news on this one or an expected timeframe? this is something which is really bugging us right now cause we're using hurl in our e2e test suites and right of now we need to generate all the UUIDs we need upfront as variables

jcamiel commented 1 month ago

@phoenix147 we'll ship a first version before end of this year, certainly for the next Hurl release. Please keep in mind that this a best-effort, free Open Source project so there isn't any delivery guarantees!