Skip to main content
Kat
Employee
Jul 7, 2023 1:36 PM UTC
Solved

In API Request, I am generating Dynamic ID with Random Math function along with appended characters, this is part of Test data setup for my Test case.Now I wish to Buffer this Randomly generated ID in API request (not in response), so that I can use

In API Request, I am generating Dynamic ID with Random Math function along with appended characters, this is part of Test data setup for my Test case.Now I wish to Buffer this Randomly generated ID in API request (not in response), so that I can use this ID in Testing the application, how can I achieve this, please describe the steps ?? 

 

[Originally asked and solved on Support Hub]

Community Manager
Jul 7, 2023 1:37 PM UTC

select the request module, 

in the API Test Toolbar, select 'Add',

try 'dynamic list' or 'assistant' to see if the field you need to change is in there,

if yes, select it and click 'Add'

 

In the testcase, you will see there is a new attribute you can edit now, so you can use it like any other module with the {B[]} syntax

1 reply

Community Manager
Jul 7, 2023 1:37 PM UTC

select the request module, 

in the API Test Toolbar, select 'Add',

try 'dynamic list' or 'assistant' to see if the field you need to change is in there,

if yes, select it and click 'Add'

 

In the testcase, you will see there is a new attribute you can edit now, so you can use it like any other module with the {B[]} syntax