Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add variable support for LR plugin #30

Closed
annapuskarjova opened this issue Apr 6, 2016 · 2 comments
Closed

Please add variable support for LR plugin #30

annapuskarjova opened this issue Apr 6, 2016 · 2 comments

Comments

@annapuskarjova
Copy link

Load runner script generator is not able to set variable to LoadRunner script

in cukes:
And let variable "modelSectionId" equal to "4"
When the client performs GET request on api/modelsections/{(modelSectionId)}

genered script:
web_custom_request("GET to http://localhost:8080/cih/api/modelsections/**(modelSectionId)**",
"URL=http://localhost:8080/cih/api/modelsections/(modelSectionId)",

@sergeytrasko
Copy link
Member

Mainly there are 3 use cases for it:

  1. Variable is taken from response body
  2. Variable is taken from response header
  3. Variable is set explicitly

These 3 use cases require different handling during LR script generation

IgorGursky pushed a commit that referenced this issue Mar 30, 2017
LR body in the request should be one row #40
Please add variable support for LR plugin #30
@sergeytrasko
Copy link
Member

Already implemented, please close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants