Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Dynamic Variables #90

Closed
ghost opened this issue Apr 30, 2021 · 3 comments
Closed

Dynamic Variables #90

ghost opened this issue Apr 30, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 30, 2021

Hi,

I have a problem with dynamic variables like:

{{$randomFirtsName}}, {{$randomLatitude}}, {{$randomLongitude}}, {{$randomColor}}, {{$randomCity}}, {{$randomCountry}}, {{$randomAdjective}}, {{$randomFileName}}

After conversion, they are not recognized and cause an error when performing the load test.

@thim81
Copy link
Contributor

thim81 commented May 7, 2021

Hi @dbacelar4i

I have created a PR to provide full support of all Postman dynamic variables.
#92

So keep an eye out of the progress of the PR.

@thim81
Copy link
Contributor

thim81 commented Aug 18, 2021

For those experiencing the same issue, I have provided a forked NPM package version that contains this fix:

Replace in your packages.json:

"dependencies": {
    "postman-to-k6": "^1.5.0"
  }

to

"dependencies": {
    "@apideck/postman-to-k6": "^1.6.0"
  }

This is a forked NPM package, to provide this new feature. The current maintainers are quite overloaded by the acquisition of K6 by Grafana. By forking the repo & package, users can keep using new PR's & (security) fixes. At a later stage the changes can potentially be merged back in the original postman-to-k6 repo.

The changelog contains the differences between the original package & the forked version.

@ppcano
Copy link
Collaborator

ppcano commented Nov 22, 2021

Apologies for the inactivity on this project.

Due to the inability to properly support this project, the k6 team has decided not to continue its development. The primary reason is that k6 scope has grown significantly with the launch of k6 extensions. The team is prioritizing extending k6 capabilities over the converters.

We suggest you post your issue at api-deck/postman-to-k6. The project is active and maintained on this fork.

@ppcano ppcano closed this as completed Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants