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

Unable to parameterized filename - Performance Testing #29

Open
automationuser-m opened this issue Apr 22, 2022 · 0 comments
Open

Unable to parameterized filename - Performance Testing #29

automationuser-m opened this issue Apr 22, 2022 · 0 comments

Comments

@automationuser-m
Copy link

automationuser-m commented Apr 22, 2022

Description :
In order to execute performance tests, json has to be sent in the body request.
There are more than 1000 json files that has to be used in the performance testing.
Each file contains different data. File name consists of <<uuid-client.json>> format

We created custom java function that will scan the directory for list of files and parse the uuid so that it can be used in the testing scenario

Challenge:
Zerocode step does not allow parameterization of file names
For example, in below request, 40000000000000000123456789ABCDEF cannot be parameterize

Benefits:
Adding this feature will allow execution of performance test using zerocode framework for the given scenario

Sample Steps:

  • name: get_geid
    url: ListFilesExecutor
    operation: getListOfGeid
    assertions:
    geid: $IS.NOTNULL
    body: $IS.NOTNULL

  • name: post_endpoint
    url: /client
    method: POST
    request:
    headers:
    uuid: ${$.get_geid.response.geid}
    body: ${JSON.FILE:reusableContent/request/40000000000000000123456789ABCDEF-client.json} //Unable to parameterize this step
    verify:
    status: 200

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

1 participant