Jet Brains has announced, that since the September, 2023, we can now import collections from Postman and use them with HTTP Client plugin.
Migration from the Postman to IntelliJ sounds nice, as it enables one-place-for-everything approach and we can test web endpoints that we tested before with Postman, right from the IntelliJ IDEA, with its HTTP Client plugin.
But, how about predefined variables?
In many cases, people use Postman's predefined variables for different purposes, when they compose HTTP request. When Postman's collections containing predefined variables are now imported into IntelliJ IDEA', as .http files, these predefined variables are no longer interpolated/resolved anyhow, because that was specific feature of Postman.
For example, in Postman, we have a ${{guid}} predefined variable and Postman generates random value per each HTTP request.
IntelliJ IDEA's HTTP Plugin, however, has no clue what it is, when having:
# @name My HTTP Request
POST {{someEndpointHere}}
Authorization: Basic someTextHere
someKey: {{$guid}}
I think this is pretty important stuff and it should have been considered by the plugins' authors.
Any ideas? any workarounds?