-
Notifications
You must be signed in to change notification settings - Fork 44
Description
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