Highlighted
Contributor.
Contributor.
584 views

loadrunner 12.53- Json file parameter value not changing?

Loadrunner : 12.53


Am preparing REST API script in LoadRunner with a long request and I created a json file and called it inside BodyFilePath, but while doing parameterisation, it's not changing value in the JSON file uploaded in Extra Files location in LR. How to resolve it?

 

Paramere name :

NewParam_1 given value is 28

x.Json file Sample Request:

        "age":"{NewParam_1}", 
        "model": null,

 

response:


Action.c(1): \t\t"age":"{NewParam_1}",\r\n
Action.c(2): \t\t"model": null,

Issue :

while passing the parameter value in the .json file request, value is not passing it.

Please guide me if you have a solution, awaiting your valuable response

 

0 Likes
1 Reply
Highlighted
Contributor.
Contributor.

Re: loadrunner 12.53- Json file parameter value not changing?

HI Instructions,

 

It's possible or not? 

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.