3 ms·
> How does the "imports" feature supposed to work and how does it help modelling more complex workflows? If hurl had something like an import feature, one coul
by nikeee 4y ago
> How does the "imports" feature supposed to work and how does it help modelling more complex workflows?
If hurl had something like an import feature, one could re-use HTTP requests. For example, one could create a file that logs into the service and use it in all other tests.
It doesn't support that, so the only option you have is to re-write the login in every test _or_ build a script that outputs that.
There is an open issue for that: https://github.com/Orange-OpenSource/hurl/issues/115 https://github.com/Orange-OpenSource/hurl/issues/115
- ushakov 4y agoGotcha! https://docs.stepci.com/guides/organising-tests.html https://docs.stepci.com/guides/organising-tests.html We will also support reusable sessions/credentials soon